diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2003-12-17 17:25:00 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2003-12-17 17:25:00 +0000 |
commit | fec7c2997a9c23fe68b406a1842c52db6c7732f0 (patch) | |
tree | 7ddc6be7a3e3fa2a1c9e651f936fe1813a23be15 /tests/lang | |
parent | 24298e523f1a968a0757c9e5e184df2d43b08cd5 (diff) | |
download | php-git-fec7c2997a9c23fe68b406a1842c52db6c7732f0.tar.gz |
Update test.
Diffstat (limited to 'tests/lang')
-rw-r--r-- | tests/lang/bug22510.phpt | 29 |
1 files changed, 28 insertions, 1 deletions
diff --git a/tests/lang/bug22510.phpt b/tests/lang/bug22510.phpt index 5c05a82f30..474fc9793e 100644 --- a/tests/lang/bug22510.phpt +++ b/tests/lang/bug22510.phpt @@ -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! |