diff options
| -rw-r--r-- | tests/lang/bug22231.phpt | 1 | ||||
| -rw-r--r-- | tests/lang/bug22510.phpt | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/tests/lang/bug22231.phpt b/tests/lang/bug22231.phpt index 84142b01ff..e0297adac8 100644 --- a/tests/lang/bug22231.phpt +++ b/tests/lang/bug22231.phpt @@ -25,6 +25,7 @@ $foo = &foo(); var_dump($foo->fubar); ?> --EXPECTF-- +Strict Standards: Assigning the return value of new by reference is deprecated in %s on line %d object(foo)#%d (1) { ["fubar"]=> string(5) "fubar" diff --git a/tests/lang/bug22510.phpt b/tests/lang/bug22510.phpt index 474fc9793e..ab133b8785 100644 --- a/tests/lang/bug22510.phpt +++ b/tests/lang/bug22510.phpt @@ -89,6 +89,7 @@ $bar->instance->finalize(); print "I'm alive!\n"; ?> --EXPECTF-- +Strict Standards: Assigning the return value of new by reference is deprecated in %s on line %d ok1 bar::run1 foo::method1 |
