From: Gustavo André dos Santos Lopes Date: Wed, 31 Aug 2011 06:32:05 +0000 (+0000) Subject: - Fixed test htmlentities15.phpt. X-Git-Tag: php-5.4.0beta1~329 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=49323ad4474d6d70aa9fe936d5b5f824ef940df4;p=php - Fixed test htmlentities15.phpt. --- diff --git a/ext/standard/tests/strings/htmlentities15.phpt b/ext/standard/tests/strings/htmlentities15.phpt index f45be118c3..54c1b06017 100644 --- a/ext/standard/tests/strings/htmlentities15.phpt +++ b/ext/standard/tests/strings/htmlentities15.phpt @@ -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-- --EXPECT-- string(9) "ÒÏÓËÏÛÎÙÊ" -string(63) "роскошный" +string(9) "ÒÏÓËÏÛÎÙÊ"