diff options
Diffstat (limited to 'tests/classes/__call_005.phpt')
| -rw-r--r-- | tests/classes/__call_005.phpt | 14 |
1 files changed, 13 insertions, 1 deletions
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) { +} |
