rfc:reference_reflection
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
rfc:reference_reflection [2019/01/15 10:54] – Make ctor private, rename to fromArrayElement nikic | rfc:reference_reflection [2019/02/13 11:26] (current) – Implemented nikic | ||
---|---|---|---|
Line 2: | Line 2: | ||
* Date: 2019-01-15 | * Date: 2019-01-15 | ||
* Author: Nikita Popov < | * Author: Nikita Popov < | ||
- | * Status: | + | * Status: |
* Targets: PHP 7.4 | * Targets: PHP 7.4 | ||
* PR: https:// | * PR: https:// | ||
Line 24: | Line 24: | ||
While this approach currently works, it is slow and convoluted. To make matters worse, this approach will no longer work reliably in PHP 7.4, due to the introduction of [[rfc: | While this approach currently works, it is slow and convoluted. To make matters worse, this approach will no longer work reliably in PHP 7.4, due to the introduction of [[rfc: | ||
- | This RFC proposed | + | This RFC proposes |
===== Proposal ===== | ===== Proposal ===== | ||
Line 70: | Line 70: | ||
</ | </ | ||
- | The value returned by '' | + | The value returned by '' |
+ | |||
+ | As mentioned above, the specific scheme used here is an implementation detail and may change in the future. The length of the string may change, and the return value may be converted into an integer in the future, if it becomes technically feasible. | ||
===== Backward Incompatible Changes ===== | ===== Backward Incompatible Changes ===== | ||
Line 85: | Line 87: | ||
===== Vote ===== | ===== Vote ===== | ||
- | Add '' | + | Add '' |
+ | |||
+ | <doodle title=" | ||
+ | * Yes | ||
+ | * No | ||
+ | </ |
rfc/reference_reflection.1547549646.txt.gz · Last modified: 2019/01/15 10:54 by nikic