mirror of
https://github.com/php/php-src.git
synced 2024-09-21 18:07:23 +00:00
7aacc705d0
Closes GH-5958
12 lines
288 B
PHP
12 lines
288 B
PHP
--TEST--
|
|
033: Import statement with non-compound name
|
|
--FILE--
|
|
<?php
|
|
use A;
|
|
use \B;
|
|
?>
|
|
--EXPECTF--
|
|
Warning: The use statement with non-compound name 'A' has no effect in %sns_033.php on line 2
|
|
|
|
Warning: The use statement with non-compound name 'B' has no effect in %sns_033.php on line 3
|