Req #18910 [Opn->Fbk]: Suggestion to highlight_string
| From: | levim@php.net | Date: | Wed, 16 Apr 2014 16:41:56 +0000 |
| Subject: | Req #18910 [Opn->Fbk]: Suggestion to highlight_string | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-185276@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=18910&edit=1
ID: 18910
Updated by: levim@php.net
Reported by: Xuefer at 21cn dot com
Summary: Suggestion to highlight_string
-Status: Open
+Status: Feedback
Type: Feature/Change Request
-Package: Feature/Change Request
+Package: *General Issues
Operating System: all
PHP Version: 4.2.2
Block user comment: N
Private report: N
New Comment:
I didn't quite understand. Can you illustrate what you are asking for?
Previous Comments:
------------------------------------------------------------------------
[2002-08-14 22:27:22] 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);
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=18910&edit=1