]> granicus.if.org Git - php/commitdiff
Update test.
authorIlia Alshanetsky <iliaa@php.net>
Wed, 17 Dec 2003 17:25:00 +0000 (17:25 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Wed, 17 Dec 2003 17:25:00 +0000 (17:25 +0000)
tests/lang/bug22510.phpt

index 5c05a82f301e551a630e48bbdf1388dfdeff210d..474fc9793efcb4ff676317ec7ebb81376df020e9 100644 (file)
@@ -93,4 +93,31 @@ ok1
 bar::run1
 foo::method1
 
-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
+foo::method1
+
+Strict Standards: Only variable references should be returned by reference in %s on line %d
+foo::finalize
+done!
+ok2
+bar::run2
+foo::method2
+foo::method2
+foo::finalize
+done!
+ok3
+bar::run3
+foo::method3
+foo::method3
+foo::finalize
+done!
+ouch
+bar::run1
+foo::method1
+
+Strict Standards: Only variable references should be returned by reference in %s on line %d
+foo::method1
+
+Strict Standards: Only variable references should be returned by reference in %s on line %d
+foo::finalize
+I'm alive!