cvs: php-src /tests/lang bug22367.phpt
| From: | Ilia Alshanetsky | Date: | Sun, 14 Dec 2003 18:25:13 +0000 |
| Subject: | cvs: php-src /tests/lang bug22367.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-25178@lists.php.net to get a copy of this message | ||
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)
+}