summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJani Taskinen <jani@php.net>2009-05-06 20:32:00 +0000
committerJani Taskinen <jani@php.net>2009-05-06 20:32:00 +0000
commit996eab8983690e93f8640dcbc1c917e65c800a15 (patch)
tree1a69b6a1aa76cb49a9bdc74550d94ead5d1f0f28
parentf719e306842123ed8473324556304943ba9c5b31 (diff)
downloadphp-git-996eab8983690e93f8640dcbc1c917e65c800a15.tar.gz
- Fixed ini deprecation message issues in tests.
# CGI headers are stripped and the error ends up there with CGI..
-rw-r--r--ext/filter/tests/bug42718-2.phpt1
-rw-r--r--ext/pcre/tests/bug33200.phpt2
-rw-r--r--tests/security/magic_quotes_gpc.phpt1
3 files changed, 1 insertions, 3 deletions
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