summaryrefslogtreecommitdiff
path: root/Zend/tests/errmsg_035.phpt
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2020-01-13 11:34:04 +0100
committerNikita Popov <nikita.ppv@gmail.com>2020-01-13 11:51:09 +0100
commit5d869df75329530a28860a3c2399ab32414fe5bc (patch)
treedaad3602d02cfe19d5579c10ef652e670d584aa2 /Zend/tests/errmsg_035.phpt
parent2a3e37a496216488e273cdc46b46c454b0017baa (diff)
downloadphp-git-5d869df75329530a28860a3c2399ab32414fe5bc.tar.gz
Make class name references use the class_name production
Throw a compile error for "static" references instead, where it isn't already the case. Also extract the code that does that -- we have quite a few places where we get a const class ref and require it to be default.
Diffstat (limited to 'Zend/tests/errmsg_035.phpt')
-rw-r--r--Zend/tests/errmsg_035.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/tests/errmsg_035.phpt b/Zend/tests/errmsg_035.phpt
index e8fa8da8e8..140e3e9cf4 100644
--- a/Zend/tests/errmsg_035.phpt
+++ b/Zend/tests/errmsg_035.phpt
@@ -9,4 +9,4 @@ class test implements self {
echo "Done\n";
?>
--EXPECTF--
-Fatal error: Cannot use 'self' as interface name as it is reserved in %s on line %d
+Fatal error: Cannot use 'self' as interface name, as it is reserved in %s on line %d