Skip to content

Commit 4df27ce

Browse files
committed
Remove no longer used "log_errors_max_len" ini directive
1 parent 368766e commit 4df27ce

File tree

10 files changed

+1
-25
lines changed

10 files changed

+1
-25
lines changed

ext/oci8/tests/error3.phpt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ if ($cv[0] < 11 || ($cv[0] == 11 && $cv[1] < 2) || ($cv[0] == 11 && $cv[1] == 2
1010
die("skip test works only with Oracle 11.2.0.3 or greater version of Oracle client libraries");
1111
}
1212
?>
13-
--INI--
14-
log_errors_max_len=4096
1513
--FILE--
1614
<?php
1715

ext/standard/tests/file/parse_ini_file_variation3.phpt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ error_reporting = E_ALL
3333
display_errors = On
3434
display_startup_errors = Off
3535
log_errors = Off
36-
log_errors_max_len = 1024
3736
ignore_repeated_errors = Off
3837
ignore_repeated_source = Off
3938
report_memleaks = On
@@ -78,8 +77,6 @@ array(10) {
7877
string(0) ""
7978
["log_errors"]=>
8079
string(0) ""
81-
["log_errors_max_len"]=>
82-
string(4) "1024"
8380
["ignore_repeated_errors"]=>
8481
string(0) ""
8582
["ignore_repeated_source"]=>

ext/standard/tests/strings/006.phpt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
--TEST--
22
highlight_file() and output buffer
3-
--INI--
4-
log_errors_max_len=4096
53
--FILE--
64
<?php
75

ext/standard/tests/strings/007-win32.phpt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
php_strip_whitespace() and output buffer
33
--SKIPIF--
44
<?php if( substr(PHP_OS, 0, 3) != "WIN") die('skip Windows only test');?>
5-
--INI--
6-
log_errors_max_len=4096
75
--FILE--
86
<?php
97
$file = str_repeat("A", PHP_MAXPATHLEN - strlen(__DIR__ . DIRECTORY_SEPARATOR . __FILE__));

ext/standard/tests/strings/007.phpt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
php_strip_whitespace() and output buffer
33
--SKIPIF--
44
<?php if( substr(PHP_OS, 0, 3) == "WIN") die('skip Non windows test');?>
5-
--INI--
6-
log_errors_max_len=4096
75
--FILE--
86
<?php
97
$file = str_repeat("A", PHP_MAXPATHLEN - strlen(__DIR__ . DIRECTORY_SEPARATOR . __FILE__));

main/main.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -662,7 +662,6 @@ PHP_INI_BEGIN()
662662
STD_PHP_INI_BOOLEAN("ignore_user_abort", "0", PHP_INI_ALL, OnUpdateBool, ignore_user_abort, php_core_globals, core_globals)
663663
STD_PHP_INI_BOOLEAN("implicit_flush", "0", PHP_INI_ALL, OnUpdateBool, implicit_flush, php_core_globals, core_globals)
664664
STD_PHP_INI_BOOLEAN("log_errors", "0", PHP_INI_ALL, OnUpdateBool, log_errors, php_core_globals, core_globals)
665-
STD_PHP_INI_ENTRY("log_errors_max_len", "1024", PHP_INI_ALL, OnUpdateLong, log_errors_max_len, php_core_globals, core_globals)
666665
STD_PHP_INI_BOOLEAN("ignore_repeated_errors", "0", PHP_INI_ALL, OnUpdateBool, ignore_repeated_errors, php_core_globals, core_globals)
667666
STD_PHP_INI_BOOLEAN("ignore_repeated_source", "0", PHP_INI_ALL, OnUpdateBool, ignore_repeated_source, php_core_globals, core_globals)
668667
STD_PHP_INI_BOOLEAN("report_memleaks", "1", PHP_INI_ALL, OnUpdateBool, report_memleaks, php_core_globals, core_globals)

main/php_globals.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ struct _php_core_globals {
6868
zend_uchar display_errors;
6969
bool display_startup_errors;
7070
bool log_errors;
71-
zend_long log_errors_max_len;
7271
bool ignore_repeated_errors;
7372
bool ignore_repeated_source;
7473
bool report_memleaks;

php.ini-development

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -519,11 +519,6 @@ display_startup_errors = On
519519
; https://php.net/log-errors
520520
log_errors = On
521521

522-
; Set maximum length of log_errors. In error_log information about the source is
523-
; added. The default is 1024 and 0 allows to not apply any maximum length at all.
524-
; https://php.net/log-errors-max-len
525-
log_errors_max_len = 1024
526-
527522
; Do not log repeated messages. Repeated errors must occur in same file on same
528523
; line unless ignore_repeated_source is set true.
529524
; https://php.net/ignore-repeated-errors

php.ini-production

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -521,11 +521,6 @@ display_startup_errors = Off
521521
; https://php.net/log-errors
522522
log_errors = On
523523

524-
; Set maximum length of log_errors. In error_log information about the source is
525-
; added. The default is 1024 and 0 allows to not apply any maximum length at all.
526-
; https://php.net/log-errors-max-len
527-
log_errors_max_len = 1024
528-
529524
; Do not log repeated messages. Repeated errors must occur in same file on same
530525
; line unless ignore_repeated_source is set true.
531526
; https://php.net/ignore-repeated-errors

run-tests.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,6 @@ function main(): void
296296
'precision=14',
297297
'serialize_precision=-1',
298298
'memory_limit=128M',
299-
'log_errors_max_len=0',
300299
'opcache.fast_shutdown=0',
301300
'opcache.file_update_protection=0',
302301
'opcache.revalidate_freq=0',
@@ -592,7 +591,7 @@ function main(): void
592591
}
593592
break;
594593
case '--version':
595-
echo '$Id$' . "\n";
594+
echo '$Id: 3b11bf2c2ad49f7ab5b28c349f1dbda57a167b0d $' . "\n";
596595
exit(1);
597596

598597
default:

0 commit comments

Comments
 (0)