php-src/Zend/tests/ns_061.phpt

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