]> granicus.if.org Git - php/commitdiff
- Fixed ini deprecation message issues in tests.
authorJani Taskinen <jani@php.net>
Wed, 6 May 2009 20:32:00 +0000 (20:32 +0000)
committerJani Taskinen <jani@php.net>
Wed, 6 May 2009 20:32:00 +0000 (20:32 +0000)
# CGI headers are stripped and the error ends up there with CGI..

ext/filter/tests/bug42718-2.phpt
ext/pcre/tests/bug33200.phpt
tests/security/magic_quotes_gpc.phpt

index d33eabeb895376af018a5ba252a9becf2c23c318..fd2a91d9d464a1d0cc375967a60ec036338e37f5 100644 (file)
@@ -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
index 5ad5b78c87a0245db7f9fe8322e6bdda3ef06377..c75a6d4f52bab3c9c7f7aebf48d4e64dad9323cf 100644 (file)
@@ -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
index 64f7179cfe9ef453a718e37fca95f8dbb0ec84af..eb5b84242a5a0aea51f2bd4bc878e1668f3acabe 100644 (file)
@@ -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