summaryrefslogtreecommitdiff
path: root/ext/standard/tests/strings/bug29119.phpt
blob: 8b419b81a15516cb2462f158ba344450de07049e (plain)
1
2
3
4
5
6
7
8
--TEST--
Bug #29119 (html_entity_decode() misbehaves with UTF-8)
--FILE--
<?php
var_dump(bin2hex(html_entity_decode('&ensp;&thinsp;&lsquo;&dagger;&prime;&frasl;&euro;', ENT_QUOTES, 'UTF-8')));
?>
--EXPECT--
string(42) "e28082e28089e28098e280a0e280b2e28184e282ac"