mirror of
https://github.com/php/php-src.git
synced 2024-09-23 10:57:26 +00:00
17 lines
329 B
Plaintext
17 lines
329 B
Plaintext
|
--TEST--
|
||
|
Type group use declarations should not allow override on inner itens
|
||
|
--FILE--
|
||
|
<?php
|
||
|
|
||
|
// should not throw syntax errors
|
||
|
|
||
|
use const Foo\Bar\{
|
||
|
A,
|
||
|
const B,
|
||
|
function C
|
||
|
};
|
||
|
|
||
|
--EXPECTF--
|
||
|
|
||
|
Parse error: syntax error, unexpected 'const' (T_CONST), expecting identifier (T_STRING) or \\ (T_NS_SEPARATOR) in %s on line 7
|