diff --git a/NEWS b/NEWS index c4d59908c67..99647e32625 100644 --- a/NEWS +++ b/NEWS @@ -8,8 +8,6 @@ PHP NEWS . Fixed bug #67792 (HTTP Authorization schemes are treated as case-sensitive). (cmb) . Fixed bug #80972 (Memory exhaustion on invalid string offset). (girgias) - . Removed log_errors_max_len ini directive from default ini files, since it - no longer had any effect since PHP 8.0.0. (Michael Voříšek) - FTP: . Fixed bug #80901 (Info leak in ftp extension). (cmb) diff --git a/UPGRADING b/UPGRADING index 08505dc5c81..1fbe212dc81 100644 --- a/UPGRADING +++ b/UPGRADING @@ -1124,10 +1124,6 @@ PHP 8.0 UPGRADE NOTES . New INI directive to choose the version of the .NET framework to use for dotnet objects. -- log_errors_max_len - . INI directive for setting the maximum length of log_errors in bytes no - longer has any effect and has been removed. - ======================================== 12. Windows Support ======================================== diff --git a/ext/ftp/tests/bug80901.phpt b/ext/ftp/tests/bug80901.phpt index d3521843b6b..6196bdce963 100644 --- a/ext/ftp/tests/bug80901.phpt +++ b/ext/ftp/tests/bug80901.phpt @@ -4,6 +4,8 @@ Bug #80901 (Info leak in ftp extension) +--INI-- +log_errors_max_len=0 --FILE-- +--INI-- +log_errors_max_len=4096 --FILE-- +--INI-- +log_errors_max_len=0 --FILE-- string(5) "32767" ["display_errors"]=> @@ -77,6 +78,8 @@ array(9) { string(0) "" ["log_errors"]=> string(0) "" + ["log_errors_max_len"]=> + string(4) "1024" ["ignore_repeated_errors"]=> string(0) "" ["ignore_repeated_source"]=> diff --git a/ext/standard/tests/strings/006.phpt b/ext/standard/tests/strings/006.phpt index dabed24c578..5f36d9aa8df 100644 --- a/ext/standard/tests/strings/006.phpt +++ b/ext/standard/tests/strings/006.phpt @@ -1,5 +1,7 @@ --TEST-- highlight_file() and output buffer +--INI-- +log_errors_max_len=4096 --FILE-- +--INI-- +log_errors_max_len=4096 --FILE-- +--INI-- +log_errors_max_len=4096 --FILE--