php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #35378 error_log returns bool, but no description of what bool represents
Submitted: 2005-11-25 04:07 UTC Modified: 2005-11-29 14:35 UTC
From: php at in-addr dot com Assigned:
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS: Irrelevant
Private report: No CVE-ID: None
 [2005-11-25 04:07 UTC] php at in-addr dot com
Description:
------------
The description of error_log in the documentation says:

bool error_log ( string message [, int message_type [, string destination [, string extra_headers]]] )

However, the page appears to contains no further description of what the boolean return value represents.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-11-29 14:35 UTC] vrana@php.net
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation better.

"Returns TRUE on success or FALSE on failure."

Failure can be: wrong parameters, unable to send an e-mail, unable to send through TCP/IP or unable to write to a file.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Jul 17 14:04:04 2025 UTC