php-src/Zend/tests/ns_065.phpt

14 lines
168 B
PHP
Executable File

--TEST--
065: Multiple names in use statement
--FILE--
<?php
use X\Y as test, X\Z as test2;
require "ns_065.inc";
test\foo();
test2\foo();
--EXPECT--
X\Y\foo
X\Z\foo