#34293 [Opn->Fbk]: highlight_string() fails to highlight randomly
| From: | sniper@php.net | Date: | Mon, 29 Aug 2005 11:22:29 +0000 |
| Subject: | #34293 [Opn->Fbk]: highlight_string() fails to highlight randomly | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-84113@lists.php.net to get a copy of this message | ||
ID: 34293
Updated by: sniper@php.net
Reported By: onfire at ntlworld dot com
-Status: Open
+Status: Feedback
Bug Type: Scripting Engine problem
Operating System: Windows XP
PHP Version: 5.0.4
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php5-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5-win32-latest.zip
Previous Comments:
------------------------------------------------------------------------
[2005-08-29 03:21:26] onfire at ntlworld dot com
Description:
------------
When using highlight_string(), it will often not highlight the
string I pass it.
Reproduce code:
---------------
<?php echo highlight_string('<test>', true); ?>
Expected result:
----------------
The code should be highlighted, but sometimes isn't.
Actual result:
--------------
Sometimes, the code remains unhighlighted, but appears to have
htmlspecialchars run on it. This seems to vary wildly, and it
can be extremely difficult for it to highlight at all. Other
times, it will highlight every time, for hours.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=34293&edit=1