cvs: php-src /tests/lang bug22510.phpt
| From: | Ilia Alshanetsky | Date: | Wed, 17 Dec 2003 17:25:00 +0000 |
| Subject: | cvs: php-src /tests/lang bug22510.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-25252@lists.php.net to get a copy of this message | ||
iliaa Wed Dec 17 12:25:00 2003 EDT
Modified files:
/php-src/tests/lang bug22510.phpt
Log:
Update test.
Index: php-src/tests/lang/bug22510.phpt
diff -u php-src/tests/lang/bug22510.phpt:1.4 php-src/tests/lang/bug22510.phpt:1.5
--- php-src/tests/lang/bug22510.phpt:1.4 Sun Nov 30 08:57:19 2003
+++ php-src/tests/lang/bug22510.phpt Wed Dec 17 12:25:00 2003
@@ -93,4 +93,31 @@
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!