Skip to content

Document PHP 8.5.0 ini directive deprecations and removals#5419

Open
jordikroon wants to merge 3 commits intophp:masterfrom
jordikroon:php85-deprecate-ini-directives
Open

Document PHP 8.5.0 ini directive deprecations and removals#5419
jordikroon wants to merge 3 commits intophp:masterfrom
jordikroon:php85-deprecate-ini-directives

Conversation

@jordikroon
Copy link
Contributor

The report_memleaks INI directive has been deprecated.
RFC: https://wiki.php.net/rfc/deprecations_php_8_5#deprecate_the_report_memleaks_ini_directive

The disable_classes INI setting has been removed as it causes various engine assumptions to be broken.
RFC: https://wiki.php.net/rfc/deprecations_php_8_5#remove_disable_classes_ini_setting

Deriving $_SERVER['argc'] and $_SERVER['argv'] from the query string for non-CLI SAPIs has been deprecated. Configure register_argc_argv=0 and switch to either $_GET or $_SERVER['QUERY_STRING'] to access the information, after verifying that the usage is safe.
RFC: https://wiki.php.net/rfc/deprecations_php_8_5#deprecate_the_register_argc_argv_ini_directive

@jordikroon jordikroon force-pushed the php85-deprecate-ini-directives branch 2 times, most recently from 5bcce7d to 646aa10 Compare March 9, 2026 20:00
Copy link
Member

@TimWolla TimWolla left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comments also apply where the same phrasing is used elsewhere.

@jordikroon
Copy link
Contributor Author

Thank you for your feedback @TimWolla. Comments have been addressed

@TimWolla TimWolla requested a review from Girgias March 18, 2026 20:14
Copy link
Member

@Girgias Girgias left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor nits about creating new XML snippets and using them.

@jordikroon jordikroon force-pushed the php85-deprecate-ini-directives branch from 9088c85 to f12e025 Compare March 21, 2026 11:52
@jordikroon jordikroon force-pushed the php85-deprecate-ini-directives branch 2 times, most recently from 2e49532 to 4770ba3 Compare March 21, 2026 11:58
@jordikroon jordikroon force-pushed the php85-deprecate-ini-directives branch from 4770ba3 to 2d6fb23 Compare March 21, 2026 11:59
@jordikroon
Copy link
Contributor Author

Thank you for checking as well @Girgias.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants