mirror of
https://github.com/php/php-src.git
synced 2024-11-27 03:44:07 +08:00
7aacc705d0
Closes GH-5958
14 lines
208 B
PHP
14 lines
208 B
PHP
--TEST--
|
|
Bug #43183 ("use" of the same class in difference scripts results in a fatal error)
|
|
--FILE--
|
|
<?php
|
|
namespace Test;
|
|
use Test\Foo;
|
|
class Foo {}
|
|
class Bar {}
|
|
use Test\Bar;
|
|
echo "ok\n";
|
|
?>
|
|
--EXPECT--
|
|
ok
|