summaryrefslogtreecommitdiff
path: root/tests/classes/__call_005.phpt
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@php.net>2008-06-11 06:30:09 +0000
committerDmitry Stogov <dmitry@php.net>2008-06-11 06:30:09 +0000
commitf8c69650753bd5ebcbfdd8ead8a986802ce3e7e7 (patch)
tree87820569641e0265963c0b07420b3867f25b89e6 /tests/classes/__call_005.phpt
parentdb7f3fe8c03d2bc5c8558f1aebb46b71b5de92d8 (diff)
downloadphp-git-f8c69650753bd5ebcbfdd8ead8a986802ce3e7e7.tar.gz
Fixed test
Diffstat (limited to 'tests/classes/__call_005.phpt')
-rw-r--r--tests/classes/__call_005.phpt14
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) {
+}