rfc:my_rfc
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
rfc:my_rfc [2015/01/31 00:49] – yohgaki | rfc:my_rfc [2017/09/22 13:28] – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== PHP RFC: Your Title Here ====== | + | ====== PHP RFC: Deprecate INI set/get aliases |
- | * Version: 0.9 | + | * Version: 0.1 |
* Date: 2015-01-31 | * Date: 2015-01-31 | ||
* Author: Yasuo Ohgaki < | * Author: Yasuo Ohgaki < | ||
Line 9: | Line 9: | ||
There are number of INI set/get functions. This RFC proposes deprecation of these functions. | There are number of INI set/get functions. This RFC proposes deprecation of these functions. | ||
+ | |||
+ | Use of ini_set()/ | ||
+ | |||
**Pros** | **Pros** | ||
Line 35: | Line 38: | ||
ini_set(' | ini_set(' | ||
ini_set(' | ini_set(' | ||
- | mbstring_internal_encoding(' | + | mb_internal_encoding(' |
</ | </ | ||
Line 68: | Line 71: | ||
===== Proposal ===== | ===== Proposal ===== | ||
- | Use of ini_set()/ | + | There are 2 documentation and 1 code change proposal. |
1. Add plain ini_get/ | 1. Add plain ini_get/ | ||
Line 95: | Line 97: | ||
- And more. | - And more. | ||
- | 3. Add **E_DEPRICATE** errors for INI set/get alias functions. | + | 3. Add **E_DEPRICATED** errors for INI set/get alias functions. |
Line 104: | Line 106: | ||
2. None for deprecation documentation in the PHP manual. | 2. None for deprecation documentation in the PHP manual. | ||
- | 3. E_DEPRECATE | + | 3. E_DEPRECATED |
Line 144: | Line 146: | ||
===== Open Issues ===== | ===== Open Issues ===== | ||
- | None. | + | Decided exceptions. Candidates are |
+ | |||
+ | - Zend/Core functions that changes INI. e.g. gc_enable. | ||
===== Unaffected PHP Functionality ===== | ===== Unaffected PHP Functionality ===== |
rfc/my_rfc.txt · Last modified: 2022/04/05 18:30 by imsop