summaryrefslogtreecommitdiff
path: root/Zend/tests/ns_096.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/ns_096.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/ns_096.phpt')
-rw-r--r--Zend/tests/ns_096.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/tests/ns_096.phpt b/Zend/tests/ns_096.phpt
index f72e37f7d3..03b09047ff 100644
--- a/Zend/tests/ns_096.phpt
+++ b/Zend/tests/ns_096.phpt
@@ -7,4 +7,4 @@ use Foo\Bar\{\Baz};
?>
--EXPECTF--
-Parse error: syntax error, unexpected token "\", expecting identifier or "function" or "const" in %s on line %d
+Parse error: syntax error, unexpected fully qualified name "\Baz", expecting identifier or namespaced name or "function" or "const" in %s on line %d