PHP. Руководство по PHP. 2005
highlight_file
highlight_file
Description
mixed highlight_file (string filename [, bool return])The highlight_file() function prints out a syntax highlighted version of the code contained in filename using the colors defined in the built-in syntax highlighter for PHP.
If the second parameter return is set to TRUE then highlight_file() will return the highlighted code as a string instead of printing it out. If the second parameter is not set to TRUE then highlight_file() will return TRUE on success, FALSE on failure.
Замечание: The return parameter became available in PHP 4.2.0. Before this time it behaved like the default, which is FALSE