Hi!
On 8/30/11 11:32 PM, Gustavo André dos Santos Lopes wrote:
cataphract Wed, 31 Aug 2011 06:32:05 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=315851
Log:
- Fixed test htmlentities15.phpt.
Changed paths:
U
php/php-src/branches/PHP_5_4/ext/standard/tests/strings/htmlentities15.phpt
U php/php-src/trunk/ext/standard/tests/strings/htmlentities15.phpt
Modified:
php/php-src/branches/PHP_5_4/ext/standard/tests/strings/htmlentities15.phpt
===================================================================
--- php/php-src/branches/PHP_5_4/ext/standard/tests/strings/htmlentities15.phpt
2011-08-31 06:26:39 UTC (rev 315850)
+++ php/php-src/branches/PHP_5_4/ext/standard/tests/strings/htmlentities15.phpt
2011-08-31 06:32:05 UTC (rev 315851)
@@ -11,6 +11,9 @@
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 @@
?>
--EXPECT--
string(9) "���������"
-string(63) "роскошный"
+string(9) "���������"
Could you explain what this test is doing and why? What '' encoding
means (docs say nothing of it), why we set locale to KOI8-R?
--
Stanislav Malyshev, Software Architect
SugarCRM: http://www.sugarcrm.com/
(408)454-6900 ext. 227
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php