Return to ns_017.phpt CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / Zend / tests |
1.1 misho 1: --TEST-- 2: 017: Run-time name conflict and functions (php name) 3: --FILE-- 4: <?php 5: namespace test\ns1; 6: 7: function strlen($x) { 8: return __FUNCTION__; 9: } 10: 11: $x = "strlen"; 12: echo $x("Hello"),"\n"; 13: --EXPECT-- 14: 5