mirror of
https://github.com/php/php-src.git
synced 2024-11-28 12:26:37 +08:00
13 lines
189 B
PHP
13 lines
189 B
PHP
--TEST--
|
|
062: use \global class
|
|
--FILE--
|
|
<?php
|
|
namespace Foo;
|
|
use \stdClass;
|
|
use \stdClass as A;
|
|
echo get_class(new stdClass)."\n";
|
|
echo get_class(new A)."\n";
|
|
--EXPECT--
|
|
stdClass
|
|
stdClass
|