php-src/Zend/tests/ns_066.phpt

12 lines
185 B
Plaintext
Raw Normal View History

--TEST--
066: Name ambiguity (import name & internal class name)
--FILE--
<?php
include __DIR__ . '/ns_027.inc';
2008-12-05 04:12:30 +08:00
use Foo\Bar\Foo as stdClass;
new stdClass();
?>
--EXPECT--
2008-12-05 04:12:30 +08:00
Foo\Bar\Foo