error_log

(PHP 4, PHP 5, PHP 7, PHP 8)

error_logSend an error message to the defined error handling routines

Description

function error_log(
    string $message,
    int $message_type = 0,
    ?string $destination = null,
    ?string $additional_headers = null
):