php-src/ext/standard/tests/strings/bug53021.phpt

11 lines
244 B
Plaintext
Raw Normal View History

--TEST--
Bug #53021 (Failure to convert numeric entities with ENT_NOQUOTES and ISO-8859-1)
--FILE--
<?php
var_dump(unpack("H*",html_entity_decode("&#233;", ENT_QUOTES, "ISO-8859-1")));
--EXPECT--
array(1) {
[1]=>
string(2) "e9"
}