xref: /PHP-8.3/Zend/tests/ns_020.phpt (revision 7aacc705)
1--TEST--
2020: Accessing internal namespace function
3--FILE--
4<?php
5namespace X;
6use X as Y;
7function foo() {
8    echo __FUNCTION__,"\n";
9}
10foo();
11\X\foo();
12Y\foo();
13\X\foo();
14?>
15--EXPECT--
16X\foo
17X\foo
18X\foo
19X\foo
20