bug23584.phpt 196 B

12345678910111213
  1. --TEST--
  2. Bug #23584 (error line numbers off by one when using #!php)
  3. --FILE--
  4. #!php
  5. <?php
  6. error_reporting(E_ALL);
  7. echo $foo;
  8. ?>
  9. --EXPECTREGEX--
  10. Notice: Undefined variable:.*foo in .* on line 6