From: Marcus Boerger Date: Thu, 6 Oct 2005 19:01:40 +0000 (+0000) Subject: - Fix test X-Git-Tag: RELEASE_0_9_1~223 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cfed9e4e74e756a3f48dd60e8b593d10290acfeb;p=php - Fix test --- diff --git a/Zend/tests/bug28444.phpt b/Zend/tests/bug28444.phpt index 5d84edc8a9..d126612522 100755 --- a/Zend/tests/bug28444.phpt +++ b/Zend/tests/bug28444.phpt @@ -3,6 +3,12 @@ Bug #28444 (Cannot access undefined property for object with overloaded property --FILE-- int(4) @@ -83,7 +90,8 @@ Overloaded::__set(y,3) int(3) Overloaded::__get(y) int(3) -Overloaded::__set(z,Object id #3) +string(55) "Object of class Object could not be converted to string" +Overloaded::__set(z,) object(Object)#%d (1) { [u"x"]=> int(4) diff --git a/Zend/tests/bug30791.phpt b/Zend/tests/bug30791.phpt index f56bcfb6e7..556192ad55 100755 --- a/Zend/tests/bug30791.phpt +++ b/Zend/tests/bug30791.phpt @@ -2,21 +2,33 @@ Bug #30791 magic methods (__sleep/__wakeup/__toString) call __call if object is overloaded --FILE-- --EXPECT-- -Object id #1 -Object id #2 +string(50) "Object of class a could not be converted to string" + +string(50) "Object of class a could not be converted to string" + object(a)#2 (1) { ["a"]=> int(4) diff --git a/Zend/tests/bug32290.phpt b/Zend/tests/bug32290.phpt index f754275ccf..7494bbe89b 100755 --- a/Zend/tests/bug32290.phpt +++ b/Zend/tests/bug32290.phpt @@ -3,6 +3,12 @@ Bug #32290 (calling call_user_func_array() ends in infinite loop within child cl --FILE--