1--TEST--
2Test to check regressions on T_IMPLEMENTS followed by a T_NS_SEPARATOR
3--FILE--
4<?php
5
6interface A{}
7
8// No longer considered legal in PHP 8.
9class B implements\A {}
10
11echo "Done", PHP_EOL;
12
13?>
14--EXPECTF--
15Parse error: syntax error, unexpected namespaced name "implements\A", expecting "{" in %s on line %d
16