summaryrefslogtreecommitdiff
path: root/Zend/tests/bug36037.phpt
blob: 3ccebf652d3645737ef26f5777441bb3843d0815 (plain)
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