Outputs or returns a syntax highlighted version of the given PHP code using the colors defined in the built-in syntax highlighter for PHP.
str
The PHP code to be highligthed. This should include the opening tag.
return
Set this parameter to TRUE to make this function return the highlighted code.
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.
Notatka: Ta funkcja używa wewnętrznie buforowania wyjścia, więc nie może być użyta wewnątrz funkcji callback podanej w wywołaniu ob_start().
Poprzedni | Spis treści | Następny |
highlight_file | Początek rozdziału | ignore_user_abort |