Russian Ukraine English
Catalog RSS


(PHP 4 )

show_source -- Syntax highlighting of a file


boolean show_source (string filename)

The show_source() function prints out a syntax higlighted version of the code contained in filename using the colors defined in the built-in syntax highlighter for PHP. It returns true on success, false otherwise (PHP 4).

Note: This function is an alias for the function highlight_file()

See also highlight_string(), highlight_file().