summaryrefslogtreecommitdiff
path: root/tests/classes/__call_007.phpt
diff options
context:
space:
mode:
authorGabriel Caruso <carusogabriel34@gmail.com>2020-04-26 07:34:19 +0200
committerGabriel Caruso <carusogabriel34@gmail.com>2020-04-27 16:32:00 +0200
commit7ce8c5ad892b8ce65426d7a8a6cf7376d56c98ee (patch)
treed7d9b9aade79f97180c598fbc13b7d4d0ad4aff1 /tests/classes/__call_007.phpt
parentf38d6cea420f1ab6975647cfc87292072538629f (diff)
downloadphp-git-7ce8c5ad892b8ce65426d7a8a6cf7376d56c98ee.tar.gz
Slipt error messages while checking magic methods attributes
Closes GH-5465
Diffstat (limited to 'tests/classes/__call_007.phpt')
-rw-r--r--tests/classes/__call_007.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/classes/__call_007.phpt b/tests/classes/__call_007.phpt
index 6f90e84f7d..e2edb8a530 100644
--- a/tests/classes/__call_007.phpt
+++ b/tests/classes/__call_007.phpt
@@ -51,7 +51,7 @@ try {
}
?>
--EXPECTF--
-Warning: The magic method A::__call() must have public visibility and cannot be static in %s on line 3
+Warning: The magic method A::__call() cannot be static in %s on line 3
---> Invoke __call via simple method call.
object(A)#1 (0) {
}