summaryrefslogtreecommitdiff
path: root/Zend/tests/bug43343.phpt
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2020-06-15 11:50:55 +0200
committerNikita Popov <nikita.ppv@gmail.com>2020-07-22 12:36:05 +0200
commit7a3dcc3e339cde2177ba4fe8fc45f78c94dfbb29 (patch)
tree7750f94dceba15437e3dad497734d3b1d65b4e4b /Zend/tests/bug43343.phpt
parentacbf7802af7b88d16497971494f5dc42c4e08ce6 (diff)
downloadphp-git-7a3dcc3e339cde2177ba4fe8fc45f78c94dfbb29.tar.gz
Treat namespaced names as single token
Namespace names are now lexed as single tokens of type T_NAME_QUALIFIED, T_NAME_FULLY_QUALIFIED or T_NAME_RELATIVE. RFC: https://wiki.php.net/rfc/namespaced_names_as_token Closes GH-5827.
Diffstat (limited to 'Zend/tests/bug43343.phpt')
-rw-r--r--Zend/tests/bug43343.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/tests/bug43343.phpt b/Zend/tests/bug43343.phpt
index db72fe98ec..c277ccccdd 100644
--- a/Zend/tests/bug43343.phpt
+++ b/Zend/tests/bug43343.phpt
@@ -8,4 +8,4 @@ $foo = 'bar';
var_dump(new namespace::$foo);
?>
--EXPECTF--
-Parse error: %s error%sexpecting%s"\"%sin %sbug43343.php on line 5
+Parse error: syntax error, unexpected token "namespace" in %s on line %d