#18910 [NEW]: Suggestion to highlight_string
| From: | Xuefer at 21cn dot com | Date: | Thu, 15 Aug 2002 02:27:22 +0000 |
| Subject: | #18910 [NEW]: Suggestion to highlight_string | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-16872@lists.php.net to get a copy of this message | ||
From: Xuefer@21cn.com
Operating system: all
PHP version: 4.2.2
PHP Bug Type: Strings related
Bug description: Suggestion to highlight_string
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 bug report at http://bugs.php.net/?id=18910&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=18910&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=18910&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=18910&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=18910&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=18910&r=support
Expected behavior: http://bugs.php.net/fix.php?id=18910&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=18910&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=18910&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=18910&r=globals