-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Deprecate disabling report_memleaks
INI directive
#19481
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Deprecate disabling report_memleaks
INI directive
#19481
Conversation
70f33af
to
d6fdf2f
Compare
d6fdf2f
to
6b546c7
Compare
report_memleaks
INI directivereport_memleaks
INI directive
php.ini-development
Outdated
@@ -537,6 +537,7 @@ ignore_repeated_errors = Off | |||
; https://php.net/ignore-repeated-source | |||
ignore_repeated_source = Off | |||
|
|||
; DEPRECATED: This INI setting is deprecated and will be removed in PHP 9.0. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This formatting is inconsistent with the other deprecated options, please unify.
I also wonder if there still is value in having this option readily presented in the example INI files. It's deprecated and only affects a debug build. Perhaps we can just remove this entire block for improved DX? If we want to keep it, the INI should be commented, though (to make sure it uses the built-in default).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd say it should be kept. It costs nothing and this will avoid making exceptions for certain settings. Maybe it could also be easier for maintainers when upmerging.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree with Tim
6b546c7
to
9a42d86
Compare
9a42d86
to
e3f4fef
Compare
e3f4fef
to
6313179
Compare
6313179
to
a3b1595
Compare
RFC: https://wiki.php.net/rfc/deprecations_php_8_5#deprecate_the_report_memleaks_ini_directive