php-src/ext/standard/tests/strings/bug29119.phpt
Steph Fox 87fac43ac0 - killed off UEXPECT
- html_translation_table and setlocale tests are no longer relevant
- there are a number of ANSI-encoded files. Is this deliberate?
2008-05-27 10:50:48 +00:00

11 lines
311 B
PHP

--TEST--
Bug #29119 (html_entity_decode() misbehaves with UTF-8)
--INI--
unicode.runtime_encoding=UTF-8
--FILE--
<?php
var_dump(bin2hex((binary)html_entity_decode('&ensp;&thinsp;&lsquo;&dagger;&prime;&frasl;&euro;', ENT_QUOTES, 'UTF-8')));
?>
--EXPECT--
unicode(42) "e28082e28089e28098e280a0e280b2e28184e282ac"