summaryrefslogtreecommitdiff
path: root/Zend/tests/bug61025.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/tests/bug61025.phpt')
-rw-r--r--Zend/tests/bug61025.phpt4
1 files changed, 2 insertions, 2 deletions
diff --git a/Zend/tests/bug61025.phpt b/Zend/tests/bug61025.phpt
index 54f6443f85..00139e6a9b 100644
--- a/Zend/tests/bug61025.phpt
+++ b/Zend/tests/bug61025.phpt
@@ -20,9 +20,9 @@ echo $b->__invoke();
?>
--EXPECTF--
-Warning: The magic method InvokeAble::__invoke() must have public visibility and cannot be static in %sbug61025.php on line %d
+Warning: The magic method InvokeAble::__invoke() cannot be static in %sbug61025.php on line %d
-Warning: The magic method Bar::__invoke() must have public visibility and cannot be static in %sbug61025.php on line %d
+Warning: The magic method Bar::__invoke() must have public visibility in %sbug61025.php on line %d
Bar
Fatal error: Uncaught Error: Call to private method Bar::__invoke() from context '' in %sbug61025.php:%d
Stack trace: