mirror of
https://github.com/php/php-src.git
synced 2024-11-27 20:03:40 +08:00
15 lines
152 B
PHP
15 lines
152 B
PHP
--TEST--
|
|
Bug #36037 (heredoc adds extra line number)
|
|
--FILE--
|
|
<?php
|
|
echo __LINE__, "\n";
|
|
$x=<<<XXX
|
|
123
|
|
YYY;
|
|
XXX;
|
|
echo __LINE__, "\n";
|
|
?>
|
|
--EXPECT--
|
|
2
|
|
7
|