- Fixed test htmlentities15.phpt.

This commit is contained in:
Gustavo André dos Santos Lopes 2011-08-31 06:32:05 +00:00
parent 5463f5f93a
commit 6690258734

View File

@ -11,6 +11,9 @@ if (!$result || preg_match('/koi8/i', setlocale(LC_CTYPE, 0)) == 0) {
die("skip setlocale() failed\n");
}
?>
--COMMENT--
As of PHP 5.4, htmlentities() no longer makes replacements with numerical
entities. Hence, for this input there's no substitution.
--FILE--
<?php
setlocale(LC_CTYPE, "ru_RU.koi8r", "ru_RU.KOI8-R");
@ -19,4 +22,4 @@ var_dump($str, htmlentities($str, ENT_QUOTES, ''));
?>
--EXPECT--
string(9) "ŇĎÓËĎŰÎŮĘ"
string(63) "&#1088;&#1086;&#1089;&#1082;&#1086;&#1096;&#1085;&#1099;&#1081;"
string(9) "ÒÏÓËÏÛÎÙÊ"