highlight_string

(PHP 4 )

highlight_string -- Syntax highlighting of a string

Description

void highlight_string ( string str)

The highlight_string() function prints out a syntax highlighted version of str using the colors defined in the built-in syntax highlighter for PHP. It returns TRUE on success, FALSE otherwise (PHP 4).

See also highlight_file(), show_source().