rfc:array-to-string
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
rfc:array-to-string [2015/02/23 15:45] – francois | rfc:array-to-string [2017/09/22 13:28] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Improve array to string conversion ====== | ====== Improve array to string conversion ====== | ||
- | * Version: 2.0 | + | * Version: 2.1 |
* Creation date: 2015-01-10 | * Creation date: 2015-01-10 | ||
- | * Last modification date : 2015-02-23 | + | * Last modification date : 2016-02-02 |
- | * Author: François Laupretre, francois@tekwire.net | + | * Author: François Laupretre, |
- | * Status: | + | * Status: |
* First Published at: http:// | * First Published at: http:// | ||
+ | |||
+ | This RFC is withdrawn because discussion shows that the subject is far from mature | ||
+ | and potential side effects require more discussions. It will probably be revived | ||
+ | in the future but potential BC breaks reserve such changes for a major release. | ||
===== Introduction ===== | ===== Introduction ===== | ||
Line 22: | Line 26: | ||
and we return a useless string. | and we return a useless string. | ||
- | It was probably done this way as a compromise before making a definitive decision. | + | Now, the release of a new major version is the occasion to make a definitve |
- | + | ||
- | Now, the release of a new major version is the prefect | + | |
Note: the RFC originally proposed, either to fully support the feature, or to deprecate it. | Note: the RFC originally proposed, either to fully support the feature, or to deprecate it. | ||
Line 61: | Line 63: | ||
===== Backward Incompatible Changes ===== | ===== Backward Incompatible Changes ===== | ||
- | We consider that array to string conversion | + | The potential BC breaks |
- | is an error. We just don't tolerate this error anymore. | + | |
are important because a lot of PHP code runs in E_NOTICE-disabled environments and | are important because a lot of PHP code runs in E_NOTICE-disabled environments and | ||
the ' | the ' | ||
Line 70: | Line 71: | ||
remained unnoticed because the error level was hidden. | remained unnoticed because the error level was hidden. | ||
- | Actually, during the discussion, | + | Actually, during the discussion, |
- | potential | + | the position |
+ | potential BC breaks. | ||
===== Proposed PHP Version(s) ===== | ===== Proposed PHP Version(s) ===== | ||
Line 109: | Line 111: | ||
===== Patches and Tests ===== | ===== Patches and Tests ===== | ||
- | Patch provided, | + | Patch provided, |
===== Implementation ===== | ===== Implementation ===== |
rfc/array-to-string.1424706320.txt.gz · Last modified: 2017/09/22 13:28 (external edit)