ns_075.phpt 191 B

12345678910
  1. --TEST--
  2. 075: Redefining compile-time constants
  3. --FILE--
  4. <?php
  5. namespace foo;
  6. const NULL = 1;
  7. echo NULL;
  8. --EXPECTF--
  9. Fatal error: Cannot redeclare constant 'NULL' in %sns_075.php on line %d