From f8c69650753bd5ebcbfdd8ead8a986802ce3e7e7 Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Wed, 11 Jun 2008 06:30:09 +0000 Subject: [PATCH] Fixed test --- tests/classes/__call_005.phpt | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/tests/classes/__call_005.phpt b/tests/classes/__call_005.phpt index 5706a7c004..53c063aaf2 100644 --- a/tests/classes/__call_005.phpt +++ b/tests/classes/__call_005.phpt @@ -22,4 +22,16 @@ $b = new B(); $b->test(); ?> --EXPECTF-- -Fatal error: The magic method __call() must have public visibility and can not be static in %s on line %d +Warning: The magic method __call() must have public visibility and can not be static in %s__call_005.php on line 3 +In A::__call(test1, array(1,a)) +object(B)#1 (0) { +} +In A::__call(test2, array(1,a)) +object(B)#1 (0) { +} +In A::__call(test3, array(1,a)) +object(B)#1 (0) { +} +In A::__call(test4, array(1,a)) +object(B)#1 (0) { +} -- 2.50.1