ns_050.phpt 192 B

1234567891011121314
  1. --TEST--
  2. 050: Name conflict and compile-time constants (ns name)
  3. --FILE--
  4. <?php
  5. namespace test\ns1;
  6. const INI_ALL = 0;
  7. function foo($x = INI_ALL) {
  8. var_dump($x);
  9. }
  10. foo();
  11. --EXPECT--
  12. int(0)