![]() ![]() | ![]() |
1.1 ! misho 1: --TEST-- ! 2: 013: 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: echo strlen("Hello"),"\n"; ! 12: --EXPECT-- ! 13: test\ns1\strlen