php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #29436 PHP hangs on HTML comment in string
Submitted: 2004-07-29 00:55 UTC Modified: 2004-08-17 01:00 UTC
From: stefan dot teitge at web dot de Assigned:
Status: No Feedback Package: Scripting Engine problem
PHP Version: 4.3.7 OS: Windows XP Pro
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: stefan dot teitge at web dot de
New email:
PHP Version: OS:

 

 [2004-07-29 00:55 UTC] 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


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-07-29 09:08 UTC] tony2001@php.net
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? 
 [2004-08-17 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 13:01:30 2024 UTC