summaryrefslogtreecommitdiff
path: root/Zend/tests/errmsg_045.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 /Zend/tests/errmsg_045.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 'Zend/tests/errmsg_045.phpt')
-rw-r--r--Zend/tests/errmsg_045.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/tests/errmsg_045.phpt b/Zend/tests/errmsg_045.phpt
index 172f56f26b..35e6c7b00f 100644
--- a/Zend/tests/errmsg_045.phpt
+++ b/Zend/tests/errmsg_045.phpt
@@ -14,7 +14,7 @@ eval('class A { private function __invoke() { } }');
?>
--EXPECTF--
-string(76) "The magic method __invoke() must have public visibility and cannot be static"
+string(%d) "The magic method A::__invoke() must have public visibility and cannot be static"
string(%d) "%s(%d) : eval()'d code"
Warning: Undefined variable $undefined in %s on line %d