mirror of
https://github.com/php/php-src.git
synced 2026-04-27 18:23:26 +02:00
15 lines
282 B
PHP
15 lines
282 B
PHP
--TEST--
|
|
Type group use declarations should not allow override on inner items
|
|
--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
|