php-src/tests/lang/bug23584.phpt
2003-05-14 00:06:55 +00:00

14 lines
196 B
PHP

--TEST--
Bug #23584 (error line numbers off by one when using #!php)
--FILE--
#!php
<?php
error_reporting(E_ALL);
echo $foo;
?>
--EXPECTREGEX--
Notice: Undefined variable:.*foo in .* on line 6