php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #18910 Suggestion to highlight_string
Submitted: 2002-08-14 22:27 UTC Modified: 2014-12-30 10:41 UTC
From: Xuefer at 21cn dot com Assigned:
Status: No Feedback Package: *General Issues
PHP Version: * OS: all
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: Xuefer at 21cn dot com
New email:
PHP Version: OS:

 

 [2002-08-14 22:27 UTC] Xuefer at 21cn dot com
suggest that highlight_string should add callback params.

higlight_string($str, $html_block_processer, $php_function_processer);

$html_block_processer will be call to process each block of HTML code in $str (highlighting html/javascript code)

$php_function_processer will be call to process function name in $str (e.g.: adding link for functions)

or maybe: higlight_string($str, $html_block_processer, $php_document_baseurl);

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2014-04-16 16:41 UTC] levim@php.net
-Status: Open +Status: Feedback -Package: Feature/Change Request +Package: *General Issues
 [2014-04-16 16:41 UTC] levim@php.net
I didn't quite understand. Can you illustrate what you are asking for?
 [2014-04-16 16:42 UTC] levim@php.net
-PHP Version: 4.2.2 +PHP Version: *
 [2014-12-30 10:41 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Oct 05 12:01:27 2024 UTC