halt03.phpt 200 B

12345678910
  1. --TEST--
  2. __HALT_COMPILER() basic test
  3. --FILE--
  4. <?php
  5. if (true) {
  6. __HALT_COMPILER();
  7. }
  8. --EXPECTF--
  9. Fatal error: __HALT_COMPILER() can only be used from the outermost scope in %shalt03.php on line %d