ID: 18892 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Feedback Bug Type: Scripting Engine problem Operating System: Windows XP PHP Version: 4.2.2 Assigned To: zeev New Comment:
Unable to reproduce under latest CVS Previous Comments: ------------------------------------------------------------------------ [2002-09-18 19:31:37] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php4-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-latest.zip Unable to reproduce using 4.3.0-dev on Windows XP or Windows 2000. ------------------------------------------------------------------------ [2002-09-03 18:33:03] [EMAIL PROTECTED] Changed status to critical (per request from Zeev :) These emails contain backtraces: http://news.php.net/article.php?group=php.dev&article=%3C5.1.0.14.2.20020902022201.055e0500%40localhost%3 http://news.php.net/article.php?group=php.dev&article=%3C20020901175007.GA17612%40kosmo.edeal.de%3E E ------------------------------------------------------------------------ [2002-08-14 17:36:42] [EMAIL PROTECTED] maybe its just an xp thing... look at this file the source is below http://barrett.servebeer.com/test/heredoc_test.php /*-----------source------------// <pre> <a href="http://barrett.servebeer.com/test/heredoc_test.php?template=1">template</a> <a href="http://barrett.servebeer.com/test/heredoc_test.php?template=0">no template</a> <?php if ($template = "1") { echo <<<END <a name="template"></a> <P></P> <UL> <LI><A HREF="http://www.blank.com/" TARGET="_blank">1</A> - blah</LI> <LI><A HREF="http://www.blank.com/" TARGET="_blank">2</A> - blah</LI> <LI><A HREF="http://www.blank.com/" TARGET="_blank">3</A> - blah</LI> </UL> END; } if ($template = "0") { echo "click template";}; ?> </pre> //-----------source------------*/ ------------------------------------------------------------------------ [2002-08-13 19:29:46] [EMAIL PROTECTED] Just tested all of your examples on a Windows 2000 machine, and on command line, and cannot reproduce your problem. What do you mean by "crash" exactly? Do you get any error messages? ------------------------------------------------------------------------ [2002-08-13 18:39:56] [EMAIL PROTECTED] I am running Apache 1.3.24. This works: <? echo <<<END abcdefg END; ?> This does not work <? echo <<<END 123456 END; ?> <? echo <<<END abcdefg END; ?> There are no white spaces after <<<END btw. Please resolve this i sort of need to use it. It worked on my linux box just fine with a slightly older version of php ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=18892&edit=1