From 597410a0e03a8690ab65ff07c6c81e9770ce6253 Mon Sep 17 00:00:00 2001 From: Andi Gutmans Date: Tue, 10 Feb 2004 15:20:51 +0000 Subject: [PATCH] Fix a couple of tests --- tests/lang/bug22231.phpt | 1 + tests/lang/bug22510.phpt | 1 + 2 files changed, 2 insertions(+) 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 -- 2.40.0