PHP funkce header_register_callback()
06. 07. 2020Dostupnost ve verzích: PHP 4.0
Registers a function that will be called when PHP starts sending output. The callback is executed just after PHP prepares all headers to be sent,
and before any other output is sent, creating a window to manipulate the outgoing headers before being sent.
Parametry
Parametr | Datový typ | Výchozí hodnota | Poznámka |
---|---|---|---|
$callback | callable |
Návratové hodnoty
bool
true on success or false on failure.
Další zdroje
https://www.php.net/manual/en/function.header-register-callback.php
Jan Barášek Více o autorovi
Autor článku podniká jako fullstack senior developer v Praze. Spravuje 300 různě velkých webových projektů, fungujících dodnes. Během spolupráce nabral hluboké zkušenosti, které na tomto webu předává dál.
Rád vám pomůžu:
Kontakt Konzultace a služby Nabídka spolupráce