rfc:deprecate_ini_set_get_aliases
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
rfc:deprecate_ini_set_get_aliases [2015/01/31 01:02] – created yohgaki | rfc:deprecate_ini_set_get_aliases [2017/09/22 13:28] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 15: | Line 15: | ||
**Pros** | **Pros** | ||
- Less API, hence simpler API. | - Less API, hence simpler API. | ||
- | - Modules will be less buggy. i.e. PHP_INI_MH() must handle " | + | - Modules will be less buggy. i.e. PHP_INI_MH() must handle " |
- Consistent coding style/API across modules, both internal and script. | - Consistent coding style/API across modules, both internal and script. | ||
- Reduced documentations. INI descriptions are only in INI section. | - Reduced documentations. INI descriptions are only in INI section. | ||
Line 35: | Line 35: | ||
session_name(' | session_name(' | ||
session_save_path('/ | session_save_path('/ | ||
+ | ini_set(' | ||
ini_set(' | ini_set(' | ||
ini_set(' | ini_set(' | ||
ini_set(' | ini_set(' | ||
mb_internal_encoding(' | mb_internal_encoding(' | ||
+ | date_default_time_zone_set(' | ||
</ | </ | ||
Line 48: | Line 50: | ||
ini_set(' | ini_set(' | ||
ini_set(' | ini_set(' | ||
+ | ini_set(' | ||
ini_set(' | ini_set(' | ||
ini_set(' | ini_set(' | ||
ini_set(' | ini_set(' | ||
ini_set(' | ini_set(' | ||
+ | ini_set(' | ||
</ | </ | ||
Line 95: | Line 99: | ||
- http:// | - http:// | ||
- http:// | - http:// | ||
+ | - http:// | ||
+ | - http:// | ||
- And more. | - And more. | ||
3. Add **E_DEPRICATED** errors for INI set/get alias functions. | 3. Add **E_DEPRICATED** errors for INI set/get alias functions. | ||
+ | |||
+ | Exceptions: These are not simple INI set/get aliases. | ||
+ | |||
+ | - http:// | ||
+ | - http:// | ||
+ | - http:// | ||
+ | - http:// | ||
+ | |||
Line 111: | Line 125: | ||
===== Proposed PHP Version(s) ===== | ===== Proposed PHP Version(s) ===== | ||
- | - PHP 7.0 | + | |
===== RFC Impact ===== | ===== RFC Impact ===== | ||
Line 122: | Line 136: | ||
Modules that has INI set/get aliases are affected. | Modules that has INI set/get aliases are affected. | ||
- | - standard | + | |
- | - session | + | - session |
- | - mbstring | + | - mbstring |
- | - iconv | + | - iconv |
- | - (and more) | + | - (and more) |
==== To Opcache ==== | ==== To Opcache ==== | ||
Line 148: | Line 162: | ||
Decided exceptions. Candidates are | Decided exceptions. Candidates are | ||
- | - Zend/Core functions that changes INI. e.g. gc_enable. | + | |
+ | |||
+ | E_DEPRECATED errors may be delayed until PHP 7.1 | ||
Line 157: | Line 173: | ||
===== Future Scope ===== | ===== Future Scope ===== | ||
- | None. If proposal 3 (Add E_DEPRECATE error) is rejected, adding E_DEPRECATE error will be future decision. | + | * If proposal 3 (Add E_DEPRECATE error) is rejected, adding E_DEPRECATE error will be future decision. |
+ | * All INI values in the manual should be able to be easily searchable. | ||
===== Proposed Voting Choices ===== | ===== Proposed Voting Choices ===== |
rfc/deprecate_ini_set_get_aliases.1422666163.txt.gz · Last modified: 2017/09/22 13:28 (external edit)