php-src/Zend/tests/ns_066.phpt
2020-08-09 22:03:36 +02:00

12 lines
185 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