rfc:deprecate_ini_set_get_aliases
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
rfc:deprecate_ini_set_get_aliases [2015/01/31 01:16] – 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. | ||
- | These are not simple INI set/get aliases. | + | Exceptions: |
- http:// | - http:// | ||
+ | - http:// | ||
+ | - http:// | ||
+ | - http:// | ||
+ | |||
Line 115: | Line 125: | ||
===== Proposed PHP Version(s) ===== | ===== Proposed PHP Version(s) ===== | ||
- | - PHP 7.0 | + | |
===== RFC Impact ===== | ===== RFC Impact ===== | ||
Line 153: | Line 163: | ||
- Zend/Core functions that changes INI. e.g. gc_enable. | - Zend/Core functions that changes INI. e.g. gc_enable. | ||
+ | |||
+ | E_DEPRECATED errors may be delayed until PHP 7.1 | ||
Line 161: | 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.txt · Last modified: 2017/09/22 13:28 by 127.0.0.1