halt_compiler3.phpt 233 B

12345678910
  1. --TEST--
  2. __HALT_COMPILER(); bad define() of __COMPILER_HALT_OFFSET__ 1
  3. --FILE--
  4. <?php
  5. define ('__COMPILER_HALT_OFFSET__', 1);
  6. ?>
  7. ==DONE==
  8. --EXPECTF--
  9. Notice: Constant __COMPILER_HALT_OFFSET__ already defined in %s on line %d
  10. ==DONE==