]> granicus.if.org Git - php/commitdiff
- Add new test
authorMarcus Boerger <helly@php.net>
Sat, 26 Nov 2005 13:22:46 +0000 (13:22 +0000)
committerMarcus Boerger <helly@php.net>
Sat, 26 Nov 2005 13:22:46 +0000 (13:22 +0000)
tests/lang/bug35382.phpt [new file with mode: 0755]

diff --git a/tests/lang/bug35382.phpt b/tests/lang/bug35382.phpt
new file mode 100755 (executable)
index 0000000..73b29a0
--- /dev/null
@@ -0,0 +1,9 @@
+--TEST--
+Bug #35382 (Comment in end of file produces fatal error)
+--FILE--
+<?
+eval("echo 'Hello'; // comment");
+echo " World";
+//last line comment
+--EXPECTF--
+Hello World
\ No newline at end of file