diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2020-07-20 10:39:43 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2020-07-20 10:39:43 +0200 |
commit | fbbcf82ab77c918b29dd2d39135d680cada3f581 (patch) | |
tree | 48e018c81aeadf8294ecb1c2432a026e84027775 /Zend/tests/magic_methods_003.phpt | |
parent | b466e8b7546352f7c2ac7d166d83131d3dcd7b2f (diff) | |
download | php-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.phpt | 2 |
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 |