PHP Manual

PHP funkce error_log()

2019-09-11T08:04:03.000Z

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.

bool

vrátí true v případě úspěchu, jinak false v případě neúspěchu.

Další zdroje

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:

Související články

1.
214.

Potřebujete poradit s PHP?

Nabízím trénink vývojářů, konzultace, školení a analýzu návrhových vzorů. Osobně v Praze nebo online.

Napište mi, pokud si nevíte rady.

Lektor: Jan Barášek

V jiných jazycích

Status:
All systems normal.
2025