php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #34293 highlight_string() fails to highlight randomly
Submitted: 2005-08-29 03:21 UTC Modified: 2005-09-06 01:00 UTC
Votes:4
Avg. Score:3.2 ± 1.5
Reproduced:3 of 4 (75.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: onfire at ntlworld dot com Assigned:
Status: No Feedback Package: Scripting Engine problem
PHP Version: 5.0.4 OS: Windows XP
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: onfire at ntlworld dot com
New email:
PHP Version: OS:

 

 [2005-08-29 03:21 UTC] 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.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-08-29 13:22 UTC] sniper@php.net
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


 [2005-09-06 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 18 21:01:29 2024 UTC