diff options
author | Dmitry Stogov <dmitry@php.net> | 2008-06-11 06:30:09 +0000 |
---|---|---|
committer | Dmitry Stogov <dmitry@php.net> | 2008-06-11 06:30:09 +0000 |
commit | f8c69650753bd5ebcbfdd8ead8a986802ce3e7e7 (patch) | |
tree | 87820569641e0265963c0b07420b3867f25b89e6 /tests/classes/__call_005.phpt | |
parent | db7f3fe8c03d2bc5c8558f1aebb46b71b5de92d8 (diff) | |
download | php-git-f8c69650753bd5ebcbfdd8ead8a986802ce3e7e7.tar.gz |
Fixed test
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) { +} |