php-src/Zend/tests/ns_061.phpt
2008-12-04 20:12:30 +00:00

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