xref: /PHP-7.2/Zend/tests/ns_020.phpt (revision 610c7fbe)
1--TEST--
2020: Accesing 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--EXPECT--
15X\foo
16X\foo
17X\foo
18X\foo
19