ns_017.phpt 196 B

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