ns_013.phpt 189 B

12345678910111213
  1. --TEST--
  2. 013: Name conflict and functions (ns name)
  3. --FILE--
  4. <?php
  5. namespace test\ns1;
  6. function strlen($x) {
  7. return __FUNCTION__;
  8. }
  9. echo strlen("Hello"),"\n";
  10. --EXPECT--
  11. test\ns1\strlen