2
htmlentities() / html_entity_decode() #8592 - #9002 table test
6
array(8768, '≀', "e28980"),
7
array(8853, '⊕', "e28a95"),
8
array(8855, '⊗', "e28a97"),
9
array(8869, '⊥', "e28aa5"),
10
array(8901, '⋅', "e28b85"),
11
array(8968, '⌈', "e28c88"),
12
array(8969, '⌉', "e28c89"),
13
array(8970, '⌊', "e28c8a"),
14
array(8971, '⌋', "e28c8b"),
15
array(9001, '⟨', "e28ca9"),
16
array(9002, '⟩', "e28caa")
19
foreach ($tests as $test) {
20
var_dump(htmlentities(pack('H*', $test[2]), ENT_QUOTES, 'UTF-8'));
23
foreach ($tests as $test) {
24
list(,$result) = unpack('H6', html_entity_decode($test[1], ENT_QUOTES, 'UTF-8'));