summaryrefslogtreecommitdiff
path: root/Zend/tests/magic_methods_003.phpt
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2020-07-20 10:39:43 +0200
committerNikita Popov <nikita.ppv@gmail.com>2020-07-20 10:39:43 +0200
commitfbbcf82ab77c918b29dd2d39135d680cada3f581 (patch)
tree48e018c81aeadf8294ecb1c2432a026e84027775 /Zend/tests/magic_methods_003.phpt
parentb466e8b7546352f7c2ac7d166d83131d3dcd7b2f (diff)
downloadphp-git-fbbcf82ab77c918b29dd2d39135d680cada3f581.tar.gz
Unify static/non-static check for magic methods
And promote it to be fatal.
Diffstat (limited to 'Zend/tests/magic_methods_003.phpt')
-rw-r--r--Zend/tests/magic_methods_003.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/tests/magic_methods_003.phpt b/Zend/tests/magic_methods_003.phpt
index 9f7ff5e9a5..d85983a419 100644
--- a/Zend/tests/magic_methods_003.phpt
+++ b/Zend/tests/magic_methods_003.phpt
@@ -11,4 +11,4 @@ class foo {
?>
--EXPECTF--
-Warning: The magic method foo::__unset() cannot be static in %s on line %d
+Fatal error: Method foo::__unset() cannot be static in %s on line %d