#18892 [Opn->Fbk]: heredoc crashes php
ID: 18892
Updated by: edink@php.net
Reported By: barrett.harber@verizon.net
-Status: Open
+Status: Feedback
Bug Type: Strings related
Operating System: Windows XP
PHP Version: 4.2.2
New Comment:
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?
Previous Comments:
------------------------------------------------------------------------
[2002-08-13 18:39:56] barrett.harber@verizon.net
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
Thread (7 messages)