![]() ![]() | ![]() |
1.1 misho 1: --TEST-- 2: 016: Run-time name conflict and functions (ns name) 3: --FILE-- 4: <?php 5: namespace test\ns1; 6: 7: function strlen($x) { 8: return __FUNCTION__; 9: } 10: 11: $x = "test\\ns1\\strlen"; 12: echo $x("Hello"),"\n"; 13: --EXPECT-- 14: test\ns1\strlen