1 2 3 4 5 6 7 8 9 10 11 12 13 14
--TEST-- Bug #36037 (heredoc adds extra line number) --FILE-- <?php echo __LINE__, "\n"; $x=<<<XXX 123 YYY; XXX; echo __LINE__, "\n"; ?> --EXPECT-- 2 7