From: Dmitry Stogov Date: Fri, 10 Nov 2006 14:21:26 +0000 (+0000) Subject: Fixed tests X-Git-Tag: RELEASE_1_0_0RC1~1068 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=94d9a548d4f66ef6067a1faaf61f255f6e86cac9;p=php Fixed tests --- diff --git a/tests/classes/array_access_005.phpt b/tests/classes/array_access_005.phpt index bd12d94c88..7a88b1e173 100755 --- a/tests/classes/array_access_005.phpt +++ b/tests/classes/array_access_005.phpt @@ -69,6 +69,8 @@ array(1) { string(6) "JoeFoo" } +Notice: Indirect modification of overloaded element of Peoples has no effect in /home/dmitry/php/php6/tests/classes/array_access_005.php on line 46 + Fatal error: Objects used as arrays in post/pre increment/decrement must return values by reference in %sarray_access_005.php on line %d --UEXPECTF-- unicode(3) "Joe" @@ -86,4 +88,6 @@ array(1) { unicode(6) "JoeFoo" } +Notice: Indirect modification of overloaded element of Peoples has no effect in /home/dmitry/php/php6/tests/classes/array_access_005.php on line 46 + Fatal error: Objects used as arrays in post/pre increment/decrement must return values by reference in %sarray_access_005.php on line %d diff --git a/tests/classes/array_access_008.phpt b/tests/classes/array_access_008.phpt index 61479f705d..10777a94c1 100755 --- a/tests/classes/array_access_008.phpt +++ b/tests/classes/array_access_008.phpt @@ -56,6 +56,8 @@ string(9) "FooBarBaz" ===ArrayOverloading=== string(3) "Foo" +Notice: Indirect modification of overloaded element of Peoples has no effect in /home/dmitry/php/php6/tests/classes/array_access_008.php on line 40 + Fatal error: Objects used as arrays in post/pre increment/decrement must return values by reference in %sarray_access_008.php on line %d --UEXPECTF-- unicode(3) "Foo" @@ -64,4 +66,6 @@ unicode(9) "FooBarBaz" ===ArrayOverloading=== unicode(3) "Foo" +Notice: Indirect modification of overloaded element of Peoples has no effect in /home/dmitry/php/php6/tests/classes/array_access_008.php on line 40 + Fatal error: Objects used as arrays in post/pre increment/decrement must return values by reference in %sarray_access_008.php on line %d diff --git a/tests/classes/array_access_012.phpt b/tests/classes/array_access_012.phpt index d7503ec05c..3cb02f07f7 100755 --- a/tests/classes/array_access_012.phpt +++ b/tests/classes/array_access_012.phpt @@ -31,4 +31,6 @@ $data['element'] = &$test; --EXPECTF-- +Notice: Indirect modification of overloaded element of ArrayAccessImpl has no effect in /home/dmitry/php/php6/tests/classes/array_access_012.php on line 24 + Fatal error: Objects used as arrays in post/pre increment/decrement must return values by reference in %sarray_access_012.php on line %d