blob: 16001da67e30ebd9a2aac8fac91a91af44c02995 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
--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 identifier (T_STRING) in %s on line 7
|