From: Jani Taskinen Date: Wed, 6 May 2009 20:32:00 +0000 (+0000) Subject: - Fixed ini deprecation message issues in tests. X-Git-Tag: php-5.3.0RC3~339 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=996eab8983690e93f8640dcbc1c917e65c800a15;p=php - Fixed ini deprecation message issues in tests. # CGI headers are stripped and the error ends up there with CGI.. --- diff --git a/ext/filter/tests/bug42718-2.phpt b/ext/filter/tests/bug42718-2.phpt index d33eabeb89..fd2a91d9d4 100644 --- a/ext/filter/tests/bug42718-2.phpt +++ b/ext/filter/tests/bug42718-2.phpt @@ -18,4 +18,3 @@ echo addcslashes($_GET['a'],"\0") . "\n"; unsafe_raw 1\0 -PHP Warning: Directive 'magic_quotes_gpc' is deprecated in PHP 5.3 and greater in Unknown on line 0 diff --git a/ext/pcre/tests/bug33200.phpt b/ext/pcre/tests/bug33200.phpt index 5ad5b78c87..c75a6d4f52 100644 --- a/ext/pcre/tests/bug33200.phpt +++ b/ext/pcre/tests/bug33200.phpt @@ -9,5 +9,5 @@ $str = preg_replace("/(some.*text)/e", "strtoupper('\\1')", $str); echo $str . "\r\n"; ?> --EXPECT-- -SOME '$SAMPLE' TEXT PHP Warning: Directive 'magic_quotes_sybase' is deprecated in PHP 5.3 and greater in Unknown on line 0 +SOME '$SAMPLE' TEXT diff --git a/tests/security/magic_quotes_gpc.phpt b/tests/security/magic_quotes_gpc.phpt index 64f7179cfe..eb5b84242a 100644 --- a/tests/security/magic_quotes_gpc.phpt +++ b/tests/security/magic_quotes_gpc.phpt @@ -10,4 +10,3 @@ echo $_GET['a'],"\n"; ?> --EXPECT-- abc\'\"\0123 -PHP Warning: Directive 'magic_quotes_gpc' is deprecated in PHP 5.3 and greater in Unknown on line 0