highlight_stringDescriptionmixed highlight_string ( string str [, bool return])The highlight_string() function outputs a syntax highlighted version of str using the colors defined in the built-in syntax highlighter for PHP. If the second parameter return is set to TRUE then highlight_string() will return the highlighted code as a string instead of printing it out. If the second parameter is not set to TRUE then highlight_string() will return TRUE on success, FALSE on failure.
See also highlight_file(). | ||