summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorKalle Sommer Nielsen <kalle@php.net>2009-05-04 21:18:22 +0000
committerKalle Sommer Nielsen <kalle@php.net>2009-05-04 21:18:22 +0000
commit5a6d3cc42b9e9e19a744726ccfeaee332280e88d (patch)
tree557fcb9177c963f01b60e3f89c40617b4ad811cd /tests
parent048f03a46b490d58dc087f6d99c34ed987e1fe5a (diff)
downloadphp-git-5a6d3cc42b9e9e19a744726ccfeaee332280e88d.tar.gz
Added E_DEPRECATED startup notice (5.3 only)
Diffstat (limited to 'tests')
-rw-r--r--tests/basic/bug46313-win.phpt3
-rw-r--r--tests/security/magic_quotes_gpc.phpt1
2 files changed, 4 insertions, 0 deletions
diff --git a/tests/basic/bug46313-win.phpt b/tests/basic/bug46313-win.phpt
index 276efe196f..a85178995d 100644
--- a/tests/basic/bug46313-win.phpt
+++ b/tests/basic/bug46313-win.phpt
@@ -60,3 +60,6 @@ string(12) "o1"
bool(true)
string(%d) "%s"
bool(true)
+PHP Warning: Directive 'register_globals' is deprecated in PHP 5.3 and greater in Unknown on line 0
+PHP Warning: Directive 'magic_quotes_gpc' is deprecated in PHP 5.3 and greater in Unknown on line 0
+
diff --git a/tests/security/magic_quotes_gpc.phpt b/tests/security/magic_quotes_gpc.phpt
index eb5b84242a..64f7179cfe 100644
--- a/tests/security/magic_quotes_gpc.phpt
+++ b/tests/security/magic_quotes_gpc.phpt
@@ -10,3 +10,4 @@ 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