Gen. partnerAlgotech

PHP function error_log()

Send an error message somewhere

|
September 11, 2019

Availability in PHP 4.0

Send an error message somewhere

Parameters

Parameter Data type Default value Note
$message string not 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.

Return values

bool

Returns true on success, otherwise false on failure.

Other resources

Official documentation for the error-log function

Loading comments...

Stay in the loop

Subscribe to our newsletter and get the latest cybersecurity news delivered straight to your inbox.

Your data is safe. You can unsubscribe from the newsletter at any time.