php-src/Zend/tests/bug36037.phpt
2006-01-17 09:39:57 +00:00

15 lines
152 B
PHP
Executable File

--TEST--
Bug #36037 (heredoc adds extra line number)
--FILE--
<?php
echo __LINE__, "\n";
$x=<<<XXX
123
YYY;
XXX;
echo __LINE__, "\n";
?>
--EXPECT--
2
7