mirror of
https://github.com/php/php-src.git
synced 2024-12-14 04:16:30 +08:00
10 lines
114 B
PHP
10 lines
114 B
PHP
--TEST--
|
|
061: use in global scope
|
|
--FILE--
|
|
<?php
|
|
class A {}
|
|
use \A as B;
|
|
echo get_class(new B)."\n";
|
|
--EXPECT--
|
|
A
|