ID: 36834 Updated by: [EMAIL PROTECTED] Reported By: trani at softwareplanet dot net -Status: Open +Status: Feedback Bug Type: Scripting Engine problem Operating System: All PHP Version: 4.4.2 New Comment:
Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip Previous Comments: ------------------------------------------------------------------------ [2006-03-23 14:35:35] trani at softwareplanet dot net Description: ------------ __LINE__ gives wrong results when between there is some text inside <<<LABEL .... LABEL; Biggest problem is thath DBG doens't works well in this case. In the past this bug had been corrected, now there is again. Reproduce code: --------------- <?php echo __LINE__."<br>"; echo <<<TEXT bla bla bla bla<br> TEXT; echo __LINE__."<br>"; ?> Expected result: ---------------- 2 bla bla bla bla 7 Actual result: -------------- 2 bla bla bla bla 8 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=36834&edit=1
