xref: /PHP-8.1/Zend/tests/ns_016.phpt (revision 7aacc705)
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?>
14--EXPECT--
15test\ns1\strlen
16