rfc:deprecate-ini-functions
PHP RFC: Deprecate INI functions
- Version: 0.9
- Created Date: 2014-03-13
- Modified Date: 2014-03-13
- Author: Yasuo Ohgaki yohgaki@ohgaki.net
- Status: Withdrawn
- First Published at: http://wiki.php.net/rfc/deprecate-ini-functions
Introduction
There session_module_name(), mb_regex_encoding(), etc that get/set INI values. These functions are duplicate of ini_get()/ini_set(). In addition, INI name and function name does not match in many cases.
Proposal
Deprecate INI functions:
- Document deprecation in the manual now.
- Add E_DEPRECATED error for PHP 5.x+
- Remove deprecated functions PHP 6+
Backward Incompatible Changes
- None for documentation.
- E_DEPRECATED for PHP 5.x+
- No function for PHP 6+
Proposed PHP Version(s)
- E_DEPRECATED for PHP 5.x+
- Remove INI functions for PHP 6+
Impact to Existing Extensions
- session
- mbstring
- (more modules)
Open Issues
- None
Proposed Voting Choices
VOTE: 2014/XX/XX - 2014/XX/XX
Patches and Tests
TBD
Implementation
After the project is implemented, this section should contain
- the version(s) it was merged to
- a link to the git commit(s)
- a link to the PHP manual entry for the feature
References
Links to external references, discussions or RFCs
Rejected Features
Keep this updated with features that were discussed on the mail lists.
rfc/deprecate-ini-functions.txt · Last modified: 2021/08/06 10:39 by cmb