mirror of
https://github.com/php/php-src.git
synced 2024-12-25 01:40:50 +08:00
12 lines
204 B
PHP
12 lines
204 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 |