note 13621 added to function.highlight-string.php

From: Date: Mon, 25 Jun 2001 10:51:54 +0000
Subject: note 13621 added to function.highlight-string.php
Groups: php.notes 
Request: Send a blank email to php-notes+get-14623@lists.php.net to get a copy of this message
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(); http://www.php.net/manual/en/function.highlight-string.php

« previous php.notes (#14623) next »