]> granicus.if.org Git - php/commitdiff
Fixed test.
authorIlia Alshanetsky <iliaa@php.net>
Sun, 14 Dec 2003 18:25:13 +0000 (18:25 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Sun, 14 Dec 2003 18:25:13 +0000 (18:25 +0000)
tests/lang/bug22367.phpt

index 5b142b4b001657270c991618f5fe99bd97dc6059..d97ad7cef34273ae395266f71887ec6502ab46e8 100644 (file)
@@ -67,4 +67,56 @@ bool(false)
 
 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)
+}