xref: /PHP-7.0/Zend/tests/ns_016.phpt (revision 610c7fbe)
1--TEST--
2016: Run-time name conflict and functions (ns name)
3--FILE--
4<?php
5namespace test\ns1;
6
7function strlen($x) {
8	return __FUNCTION__;
9}
10
11$x = "test\\ns1\\strlen";
12echo $x("Hello"),"\n";
13--EXPECT--
14test\ns1\strlen
15