mirror of
https://github.com/php/php-src.git
synced 2024-11-28 04:14:26 +08:00
13 lines
260 B
PHP
13 lines
260 B
PHP
--TEST--
|
|
Bug #42859 (import always conflicts with internal classes)
|
|
--FILE--
|
|
<?php
|
|
namespace Foo;
|
|
class Ex {}
|
|
|
|
use Blah\Exception;
|
|
use Blah\Ex;
|
|
?>
|
|
--EXPECTF--
|
|
Fatal error: Cannot use Blah\Ex as Ex because the name is already in use in %sbug42859.php on line 6
|