mirror of
https://github.com/php/php-src.git
synced 2026-04-28 02:33:17 +02:00
ded3d984c6
EXPECTF logic in run-tests.php is considerable, so let's avoid it.
27 lines
240 B
PHP
27 lines
240 B
PHP
--TEST--
|
|
Group use declarations and whitespace nuances
|
|
--FILE--
|
|
<?php
|
|
|
|
// should not throw syntax errors
|
|
|
|
use Foo\Bar \{ A };
|
|
|
|
use Foo\Bar\ { B };
|
|
|
|
use Foo\Bar
|
|
\{
|
|
C
|
|
};
|
|
|
|
use Foo\Bar\
|
|
{
|
|
D
|
|
};
|
|
|
|
echo "\nDone\n";
|
|
|
|
|
|
--EXPECT--
|
|
|
|
Done |