rasmus Wed, 25 Nov 2009 18:58:14 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=291321
Log: There is no ENT_IGNORE in 5.2 Changed paths: U php/php-src/branches/PHP_5_2/ext/standard/tests/strings/bug49785.phpt Modified: php/php-src/branches/PHP_5_2/ext/standard/tests/strings/bug49785.phpt =================================================================== --- php/php-src/branches/PHP_5_2/ext/standard/tests/strings/bug49785.phpt 2009-11-25 18:15:25 UTC (rev 291320) +++ php/php-src/branches/PHP_5_2/ext/standard/tests/strings/bug49785.phpt 2009-11-25 18:58:14 UTC (rev 291321) @@ -36,12 +36,6 @@ var_dump(_bin2hex(htmlentities("\xf8\x88\x80\x80\x80", ENT_QUOTES, "UTF-8"))); echo "--\n"; -// UTF-8: with ENT_IGNORE -var_dump(_bin2hex(htmlentities("\xc0\xa0\xc2\x80", ENT_QUOTES | ENT_IGNORE, "UTF-8"))); -var_dump(_bin2hex(htmlentities("\xe0\x80\x80\xe0\xa0\x80", ENT_QUOTES | ENT_IGNORE, "UTF-8"))); -var_dump(_bin2hex(htmlentities("\xf0\x80\x80\x80\xf0\x90\x80\x80", ENT_QUOTES | ENT_IGNORE, "UTF-8"))); - -echo "--\n"; // UTF-8: alternative (invalid) UTF-8 sequence var_dump(_bin2hex(htmlspecialchars("\xc0\xa6", ENT_QUOTES, 'UTF-8'))); var_dump(_bin2hex(htmlspecialchars("\xe0\x80\xa6", ENT_QUOTES, 'UTF-8'))); @@ -161,10 +155,6 @@ string(0) "" string(0) "" -- -string(4) "c280" -string(6) "e0a080" -string(8) "f0908080" --- string(0) "" string(0) "" string(0) ""
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php