ID: 34293 Updated by: [EMAIL PROTECTED] 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