mirror of
https://github.com/php/php-src.git
synced 2024-09-27 21:07:25 +00:00
- Fixed test htmlentities15.phpt.
This commit is contained in:
parent
5463f5f93a
commit
6690258734
@ -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) "роскошный"
|
||||
string(9) "ÒÏÓËÏÛÎÙÊ"
|
||||
|
Loading…
Reference in New Issue
Block a user