From: stefan dot teitge at web dot de Operating system: Windows XP Pro PHP version: 4.3.7 PHP Bug Type: Scripting Engine problem Bug description: PHP hangs on HTML comment in string
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 bug report at http://bugs.php.net/?id=29436&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=29436&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=29436&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=29436&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=29436&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=29436&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=29436&r=needscript Try newer version: http://bugs.php.net/fix.php?id=29436&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=29436&r=support Expected behavior: http://bugs.php.net/fix.php?id=29436&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=29436&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=29436&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=29436&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=29436&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=29436&r=dst IIS Stability: http://bugs.php.net/fix.php?id=29436&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=29436&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=29436&r=float