iliaa Sun Dec 14 13:25:13 2003 EDT Modified files: /php-src/tests/lang bug22367.phpt Log: Fixed test. Index: php-src/tests/lang/bug22367.phpt diff -u php-src/tests/lang/bug22367.phpt:1.3 php-src/tests/lang/bug22367.phpt:1.4 --- php-src/tests/lang/bug22367.phpt:1.3 Sun Nov 30 08:57:19 2003 +++ php-src/tests/lang/bug22367.phpt Sun Dec 14 13:25:13 2003 @@ -67,4 +67,56 @@ Notice: Undefined offset: %d in %s on line %d -Fatal error: Only variables or references can be returned by reference in %s on line %d +Strict Standards: Only variable references should be returned by reference in %s on line %d +bool(false) +array(5) { + [0]=> + int(0) + [1]=> + int(1) + [2]=> + int(2) + [3]=> + int(3) + [4]=> + int(4) +} +array(5) { + [0]=> + int(0) + [1]=> + int(1) + [2]=> + int(2) + [3]=> + int(3) + [4]=> + int(4) +} +int(2) +bool(true) +bool(true) +array(5) { + [0]=> + int(0) + [1]=> + int(1) + [2]=> + int(2) + [3]=> + int(3) + [4]=> + int(4) +} +array(5) { + [0]=> + int(0) + [1]=> + int(1) + [2]=> + int(2) + [3]=> + int(3) + [4]=> + int(4) +}
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php