php-src/Zend/tests/ns_066.phpt
2008-06-20 17:17:05 +00:00

11 lines
186 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