From: [EMAIL PROTECTED] Operating system: PHP version: 4.1.1 PHP Bug Type: Feature/Change Request Bug description: function highlight_string() returns string
At this moment (php4.1.1) the function "highlight_string" has the following syntax: [quote] bool highlight_string ( string str) This function prints out a syntax highlighted version of str using the colors defined in the built-in syntax highlighter for PHP. Returns TRUE or FALSE. [/quote] The function will be more flexible if it returns a string (with highlights) and nothing is printed directly. str highlight_string ( string str) This function returns a string containing a syntax highted version of str using the colors defined in the built-in syntax highlighter for PHP. Returnes a string with syntax-highlighted html Reference: http://lxr.php.net/source/ZendEngine2/zend_highlight.c#84 -- Edit bug report at http://bugs.php.net/?id=15650&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=15650&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=15650&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=15650&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=15650&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=15650&r=support Expected behavior: http://bugs.php.net/fix.php?id=15650&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=15650&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=15650&r=submittedtwice