Doc #70194 [Opn->Ver]: Configuration 'log_errors_max_len' doesn't affect to function error_log()

From: Date: Wed, 05 Aug 2015 14:06:14 +0000
Subject: Doc #70194 [Opn->Ver]: 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-12578@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: Open +Status: Verified Type: Documentation Problem Package: *Configuration Issues Operating System: All PHP Version: 5.6.11 -Assigned To: +Assigned To: cmb Block user comment: N Private report: N Previous Comments: ------------------------------------------------------------------------ [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

« previous php.doc.bugs (#12578) next »