rfc:constructor_promotion
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
rfc:constructor_promotion [2020/05/15 08:09] – nikic | rfc:constructor_promotion [2020/05/15 12:14] – Fix a couple typos theodorejb | ||
---|---|---|---|
Line 91: | Line 91: | ||
</ | </ | ||
- | It is also not possible to use the '' | + | It is also not possible to use the '' |
<PHP> | <PHP> | ||
Line 160: | Line 160: | ||
While repeating the default value on the property declaration would currently appear harmless, there are forward-compatibility reasons why it is preferable to only specify the default once. | While repeating the default value on the property declaration would currently appear harmless, there are forward-compatibility reasons why it is preferable to only specify the default once. | ||
- | The first is a possible future extension to allow arbitrary | + | The first is a possible future extension to allow arbitrary |
<PHP> | <PHP> |
rfc/constructor_promotion.txt · Last modified: 2020/08/01 23:38 by carusogabriel