rfc:deprecate-ini-functions

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

rfc:deprecate-ini-functions [2017/09/22 13:28] (current)
Line 1: Line 1:
  
 +====== 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: Draft
 +  * 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
 +
 +<doodle title="​Deprecate INI functions"​ auth="​yohgaki"​ voteType="​single"​ closed="​true">​
 +   * Yes
 +   * No
 +</​doodle>​
 +
 +===== 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: 2017/09/22 13:28 (external edit)