diff options
-rwxr-xr-x | tests/lang/bug35382.phpt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/lang/bug35382.phpt b/tests/lang/bug35382.phpt new file mode 100755 index 0000000000..73b29a0597 --- /dev/null +++ b/tests/lang/bug35382.phpt @@ -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 |