note 13621 deleted from function.highlight-string by didou
| From: | didou@php.net | Date: | Sat, 16 Aug 2003 23:48:13 +0000 |
| Subject: | note 13621 deleted from function.highlight-string by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-54520@lists.php.net to get a copy of this message | ||
Note Submitter: renevanmil@hotmail.com
----
If you are looking for a way to put the html output into a string, I figured out a way to do this
with output-buffering:
ob_start();
highlight_string($source);
$colorsource = ob_get_contents();
ob_end_clean();