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