summaryrefslogtreecommitdiff
path: root/tests/classes/__call_005.phpt
diff options
context:
space:
mode:
authorGabriel Caruso <carusogabriel34@gmail.com>2020-04-16 01:39:51 +0200
committerGabriel Caruso <carusogabriel34@gmail.com>2020-04-16 10:34:58 +0200
commit75a58ba5226b45b4e2d68e859fc3517b9c7de6dd (patch)
tree95ad340c4763148c3366ec5ecc0eab699445fb16 /tests/classes/__call_005.phpt
parent481caf17bc4e40fd437e6ed51cb4c97ed8c10e96 (diff)
downloadphp-git-75a58ba5226b45b4e2d68e859fc3517b9c7de6dd.tar.gz
Improve error messages for magic methods by appending method's class
Closes GH-5397.
Diffstat (limited to 'tests/classes/__call_005.phpt')
-rw-r--r--tests/classes/__call_005.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/classes/__call_005.phpt b/tests/classes/__call_005.phpt
index 8c4d52efa7..8db8cec43e 100644
--- a/tests/classes/__call_005.phpt
+++ b/tests/classes/__call_005.phpt
@@ -22,7 +22,7 @@ $b = new B();
$b->test();
?>
--EXPECTF--
-Warning: The magic method __call() must have public visibility and cannot be static in %s__call_005.php on line 3
+Warning: The magic method A::__call() must have public visibility and cannot be static in %s__call_005.php on line 3
In A::__call(test1, array(1,a))
object(B)#1 (0) {
}