php-src/ext/standard/tests/strings/bug29119.phpt
Moriyoshi Koizumi 5ff410efdf - Fix test name
2004-07-19 18:49:20 +00:00

9 lines
263 B
PHP

--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"