php-src/Zend/tests/ns_062.phpt

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