highlight_string
Description
mixed highlight_string ( string str [, bool return] )Outputs or returns a syntax highlighted version of the given PHP code using the colors defined in the built-in syntax highlighter for PHP.
Parameters
strThe PHP code to be highligthed. This should include the opening tag.
returnSet this parameter to TRUE to make this function return the highlighted code.
Return Values
If return is set to TRUE, returns the highlighted
code as a string instead of printing it out. Otherwise, it will return
TRUE on success, FALSE on failure.
Examples
Notes
Note: This function internally uses the output buffering with this parameter so it can not be used inside ob_start() callback function.
