diff options
author | foobar <sniper@php.net> | 2003-05-14 00:06:55 +0000 |
---|---|---|
committer | foobar <sniper@php.net> | 2003-05-14 00:06:55 +0000 |
commit | 5d4bca6dbf4743eae9fcac0bcdfded86944968b2 (patch) | |
tree | 39263358f660aba8e48118593d3172183e43206a | |
parent | f1c20d3b55e88478ecaa530c33aa380ac36a282e (diff) | |
download | php-git-5d4bca6dbf4743eae9fcac0bcdfded86944968b2.tar.gz |
Added test case for bug #23584
-rw-r--r-- | tests/lang/bug23584.phpt | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/lang/bug23584.phpt b/tests/lang/bug23584.phpt new file mode 100644 index 0000000000..417cfb0856 --- /dev/null +++ b/tests/lang/bug23584.phpt @@ -0,0 +1,13 @@ +--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 |