PHP funkce highlight_file()
📅 11. 09. 2019
Obsah článku:
Dostupnost ve verzích: `PHP 4.0`
Syntax highlighting of a file
Parametry
Parametr | Datový typ | Výchozí hodnota | Poznámka |
---|---|---|---|
$filename | string | není | Path to the PHP file to be highlighted. |
$return | bool | null | Set this parameter to true to make this function return the highlighted code. |
Návratové hodnoty
string
|bool 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.
Další zdroje
Jan Barášek Více o autorovi
Autor článku pracuje jako seniorní vývojář a software architekt v Praze. Navrhuje a spravuje velké webové aplikace, které znáte a používáte. Od roku 2009 nabral bohaté zkušenosti, které tímto webem předává dál.
Rád vám pomůžu:
Kontakt Spolupráce