#18910 [Opn]: Suggestion to highlight_string

From: Date: Thu, 15 Aug 2002 02:29:47 +0000
Subject: #18910 [Opn]: Suggestion to highlight_string
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-16874@lists.php.net to get a copy of this message
ID: 18910 Updated by: kalowsky@php.net Reported By: Xuefer@21cn.com Status: Open -Bug Type: Strings related +Bug Type: Feature/Change Request Operating System: all PHP Version: 4.2.2 New Comment: re-classified as feature request. Previous Comments: ------------------------------------------------------------------------ [2002-08-14 22:27:22] Xuefer@21cn.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 http://bugs.php.net/?id=18910&edit=1

« previous php.bugs (#16874) next »