cvs: php4 /tests/lang bug23584.phpt
| From: | Jani Taskinen | Date: | Wed, 14 May 2003 00:06:55 +0000 |
| Subject: | cvs: php4 /tests/lang bug23584.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-20880@lists.php.net to get a copy of this message | ||
sniper Tue May 13 20:06:55 2003 EDT
Modified files:
/php4/tests/lang bug23584.phpt
Log:
Added test case for bug #23584
Index: php4/tests/lang/bug23584.phpt
diff -u /dev/null php4/tests/lang/bug23584.phpt:1.2
--- /dev/null Tue May 13 20:06:55 2003
+++ php4/tests/lang/bug23584.phpt Tue May 13 20:06:55 2003
@@ -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