![]() ![]() | ![]() |
1.1 ! misho 1: --TEST-- ! 2: 015: Name conflict and functions (php name in case if ns name exists) ! 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: 5 ! 14: