mirror of
https://github.com/php/php-src.git
synced 2024-10-16 14:02:37 +00:00
87fac43ac0
- html_translation_table and setlocale tests are no longer relevant - there are a number of ANSI-encoded files. Is this deliberate?
11 lines
311 B
PHP
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('  ‘†′⁄€', ENT_QUOTES, 'UTF-8')));
|
|
?>
|
|
--EXPECT--
|
|
unicode(42) "e28082e28089e28098e280a0e280b2e28184e282ac"
|