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!
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php