ns_046.phpt 177 B

1234567891011
  1. --TEST--
  2. 046: Run-time name conflict and constants (ns name)
  3. --FILE--
  4. <?php
  5. namespace test\ns1;
  6. const INI_ALL = 0;
  7. var_dump(constant("test\\ns1\\INI_ALL"));
  8. --EXPECT--
  9. int(0)