mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
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
|