PHP funkce error_log()
📅 11. 09. 2019
Obsah článku:
Dostupnost ve verzích: `PHP 4.0`
Send an error message somewhere
Parametry
Parametr | Datový typ | Výchozí hodnota | Poznámka |
---|---|---|---|
$message | string | není | The error message that should be logged. |
$message_type | int | null, | Says where the error should go. The possible message types are as follows: |
$destination | string | null, | The destination. Its meaning depends on the message_type parameter as described above. |
$extra_headers | string | null | The extra headers. It's used when the message_type parameter is set to 1. This message type uses the same internal function as mail does. |
Návratové hodnoty
bool
vrátí true
v případě úspěchu, jinak false
v případě neúspěchu.
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