danielc Sat, 07 Jan 2012 23:09:49 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=321887
Log: Remove test for bug 60675, the change in behavior between 5.3 and 5.4 is intentional. Bug: https://bugs.php.net/60675 (Bogus) htmlentities(ENT_COMPAT, windows-1251) for ISO-8859-1 encoded scripts Changed paths: D php/php-src/branches/PHP_5_4/ext/standard/tests/strings/bug60675.phpt D php/php-src/trunk/ext/standard/tests/strings/bug60675.phpt Deleted: php/php-src/branches/PHP_5_4/ext/standard/tests/strings/bug60675.phpt =================================================================== --- php/php-src/branches/PHP_5_4/ext/standard/tests/strings/bug60675.phpt 2012-01-07 23:06:29 UTC (rev 321886) +++ php/php-src/branches/PHP_5_4/ext/standard/tests/strings/bug60675.phpt 2012-01-07 23:09:49 UTC (rev 321887) @@ -1,24 +0,0 @@ ---TEST-- -Bug 60675: htmlentities(ENT_COMPAT, windows-1251) for ISO-8859-1 encoded scripts ---CREDITS-- -Daniel Convissor <dani...@php.net> ---XFAIL-- -Bug 60675 exists ---FILE-- -<?php - -/* - * This script needs to be encoded in ISO-8859-1 for the test to work. - * Check the encoding with "file -bi" - * If the encoding is wrong, change it with: - * mv bug60675.phpt bug60675.tmp - * iconv -f <output of file -bi> -t ISO-8859-1 bug60675.tmp > bug60675.phpt - * rm bug60675.tmp - */ - -$in = '���������'; -echo htmlentities($in, ENT_COMPAT, 'windows-1251'); - -?> ---EXPECT-- -Тестируем Deleted: php/php-src/trunk/ext/standard/tests/strings/bug60675.phpt =================================================================== --- php/php-src/trunk/ext/standard/tests/strings/bug60675.phpt 2012-01-07 23:06:29 UTC (rev 321886) +++ php/php-src/trunk/ext/standard/tests/strings/bug60675.phpt 2012-01-07 23:09:49 UTC (rev 321887) @@ -1,24 +0,0 @@ ---TEST-- -Bug 60675: htmlentities(ENT_COMPAT, windows-1251) for ISO-8859-1 encoded scripts ---CREDITS-- -Daniel Convissor <dani...@php.net> ---XFAIL-- -Bug 60675 exists ---FILE-- -<?php - -/* - * This script needs to be encoded in ISO-8859-1 for the test to work. - * Check the encoding with "file -bi" - * If the encoding is wrong, change it with: - * mv bug60675.phpt bug60675.tmp - * iconv -f <output of file -bi> -t ISO-8859-1 bug60675.tmp > bug60675.phpt - * rm bug60675.tmp - */ - -$in = '���������'; -echo htmlentities($in, ENT_COMPAT, 'windows-1251'); - -?> ---EXPECT-- -Тестируем
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php