mirror of
https://github.com/php/php-src.git
synced 2024-12-19 06:50:17 +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
|