Dostupnost ve verzích: PHP 4.0
Send an error message somewhere
| 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. | 
bool
vrátí true v případě úspěchu, jinak false v případě neúspěchu.
Oficiální dokumentace funkce error-log
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:
Články a novinky nejen ze světa PHP a programování. Nenechte si ujít jediný článek.
Články píše Jan Barášek © 2009-2025 | Kontakt | Mapa webu
Status | Aktualizováno: ... | cs