Doc #70194 [Ver->Csd]: Configuration 'log_errors_max_len' doesn't affect to function error_log()
| From: | cmb@php.net | Date: | Wed, 05 Aug 2015 14:10:56 +0000 |
| Subject: | Doc #70194 [Ver->Csd]: Configuration 'log_errors_max_len' doesn't affect to function error_log() | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-12579@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=70194&edit=1
ID: 70194
Updated by: cmb@php.net
Reported by: 264716115 at qq dot com
Summary: Configuration 'log_errors_max_len' doesn't affect to
function error_log()
-Status: Verified
+Status: Closed
Type: Documentation Problem
Package: *Configuration Issues
Operating System: All
PHP Version: 5.6.11
Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[2015-08-05 14:10:20] cmb@php.net
Automatic comment from SVN on behalf of cmb
Revision: http://svn.php.net/viewvc/?view=revision&revision=337293
Log: documented that log_errors_max_len does not apply to error_log() (fixes #70194)
------------------------------------------------------------------------
[2015-08-05 12:13:40] 264716115 at qq dot com
Description:
------------
I use function error_log to log some custom error,but the configuration log_error_max_len
doesn't affect
Test script:
---------------
<?php
echo ini_get('log_errors_max_len'); //1024
$a = str_repeat('a', 2000);
error_log($a);
//log successed
Expected result:
----------------
maybe change the documentation
http://php.net/manual/en/errorfunc.configuration.php#ini.log-errors-max-len
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=70194&edit=1