1
0
mirror of https://github.com/php/php-src.git synced 2026-04-22 23:48:14 +02:00
Files
archived-php-src/Zend/tests/ns_094.phpt
T
Máté Kocsis 7aacc705d0 Add many missing closing PHP tags to tests
Closes GH-5958
2020-08-09 22:03:36 +02:00

16 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 token "const", expecting "}" in %s on line %d