diff options
author | Felipe Pena <felipe@php.net> | 2008-06-03 14:07:15 +0000 |
---|---|---|
committer | Felipe Pena <felipe@php.net> | 2008-06-03 14:07:15 +0000 |
commit | 402fb5285d43d94597515847d6dbe822d2eb3130 (patch) | |
tree | b10596a677400f9e7e5d45b5e59854665e93a18d /tests/classes | |
parent | fe0ef8b17c8d3c3671838e41322038f97d90c62b (diff) | |
download | php-git-402fb5285d43d94597515847d6dbe822d2eb3130.tar.gz |
- MFH: Fixed bug #44769 (declaring private magic methods should throw error)
Diffstat (limited to 'tests/classes')
-rw-r--r-- | tests/classes/__call_005.phpt | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/tests/classes/__call_005.phpt b/tests/classes/__call_005.phpt index c82a853f72..5706a7c004 100644 --- a/tests/classes/__call_005.phpt +++ b/tests/classes/__call_005.phpt @@ -22,15 +22,4 @@ $b = new B(); $b->test(); ?> --EXPECTF-- -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) { -}
\ No newline at end of file +Fatal error: The magic method __call() must have public visibility and can not be static in %s on line %d |