From 6e9e5b099c9dc4044ca1eaa9d374fd10023c91e3 Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Thu, 19 May 2005 09:58:23 +0000 Subject: [PATCH] Strict warnings --- Zend/tests/bug31828.phpt | 8 +++++++- Zend/tests/bug32080.phpt | 8 ++++++-- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/Zend/tests/bug31828.phpt b/Zend/tests/bug31828.phpt index 09a95d5088..a3cc4542fd 100644 --- a/Zend/tests/bug31828.phpt +++ b/Zend/tests/bug31828.phpt @@ -2,6 +2,7 @@ Bug #31828 (Crash with zend.ze1_compatibility_mode=On) --INI-- zend.ze1_compatibility_mode=on +error_reporting=4095 --FILE-- ---EXPECT-- +--EXPECTF-- +Strict Standards: Implicit cloning object of class 'stdClass' because of 'zend.ze1_compatibility_mode' in %sbug31828.php on line 2 + +Strict Standards: Implicit cloning object of class 'stdClass' because of 'zend.ze1_compatibility_mode' in %sbug31828.php on line 5 + +Strict Standards: Implicit cloning object of class 'stdClass' because of 'zend.ze1_compatibility_mode' in %sbug31828.php on line 6 stdClass Object ( [id] => 77 diff --git a/Zend/tests/bug32080.phpt b/Zend/tests/bug32080.phpt index ffaa190b09..a96c8bf262 100644 --- a/Zend/tests/bug32080.phpt +++ b/Zend/tests/bug32080.phpt @@ -2,6 +2,7 @@ Bug #32080 (segfault when assigning object to itself with zend.ze1_compatibility_mode=On) --INI-- zend.ze1_compatibility_mode=on +error_reporting=4095 --FILE-- ---EXPECT-- -object(test)#2 (0) { +--EXPECTF-- +Strict Standards: Implicit cloning object of class 'test' because of 'zend.ze1_compatibility_mode' in %sbug32080.php on line 3 + +Strict Standards: Implicit cloning object of class 'test' because of 'zend.ze1_compatibility_mode' in %sbug32080.php on line 5 +object(test)#%d (0) { } -- 2.50.1