#29436 [Opn->Fbk]: PHP hangs on HTML comment in string
| From: | tony2001@php.net | Date: | Thu, 29 Jul 2004 07:08:04 +0000 |
| Subject: | #29436 [Opn->Fbk]: PHP hangs on HTML comment in string | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-63735@lists.php.net to get a copy of this message | ||
ID: 29436
Updated by: tony2001@php.net
Reported By: stefan dot teitge at web dot de
-Status: Open
+Status: Feedback
Bug Type: Scripting Engine problem
Operating System: Windows XP Pro
PHP Version: 4.3.7
New Comment:
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php
If you can provide more information, feel free to add it
to this bug and change the status back to "Open".
Thank you for your interest in PHP.
Please, supply an error message and any other info: web-server you use,
etc.
How exactly does it hang?
Have you tried to run this code with PHP-CLI?
Previous Comments:
------------------------------------------------------------------------
[2004-07-29 00:55:48] stefan dot teitge at web dot de
Description:
------------
No changes to php.ini except script timeout.
If this line independent from the variable name appears the php output
hangs, that means no output after this point is produced.
Hangs even when only <!-- occours in any string. (see sample 2)
Reproduce code:
---------------
//sample 1
$a = "<!--";
//sample 2
$a = "<!-";
$a .= "-";
Expected result:
----------------
the string shall be printed later on
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=29436&edit=1