Availability in 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.
| Parameter | Data type | Default value | Note |
|---|---|---|---|
$callback |
callable |
bool
Returns true on success, otherwise false on failure.
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:
Nejlepsi tipy a triky o PHP do Vaseho e-mailu. Clanky a novinky nejen ze sveta PHP a programovani.