| 
 | highlight_stringSyntax highlighting of a string Description
   mixed highlight_string
    ( string  $str[, bool$return= false
  ] )Outputs or returns html markup for a syntax highlighted version of the given PHP code using the colors defined in the built-in syntax highlighter for PHP. Parameters
 
 Return Values
   If  Changelog
 
 Examples
 Example #1 highlight_string example 
<?phpThe above example will output (in PHP 4): <code><font color="#000000"> <font color="#0000BB"><?php phpinfo</font><font color="#007700">(); </font><font color="#0000BB">?></font> </font> </code> The above example will output (in PHP 5): <code><span style="color: #000000"> <span style="color: #0000BB"><?php phpinfo</span><span style="color: #007700">(); </span><span style="color: #0000BB">?></span> </span> </code> Notes
 The HTML markup generated is subject to change. |