From: Dmitry Stogov Date: Wed, 11 Jun 2008 06:30:09 +0000 (+0000) Subject: Fixed test X-Git-Tag: BEFORE_NEW_PARAMETER_PARSE~39 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f8c69650753bd5ebcbfdd8ead8a986802ce3e7e7;p=php Fixed test --- 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) { +}