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

11 lines
182 B
PHP

--TEST--
066: Name ambiguity (import name & internal class name)
--FILE--
<?php
include __DIR__ . '/ns_027.inc';
use Foo\Bar\Foo as stdClass;
new stdClass();
--EXPECT--
Foo\Bar\Foo