rfc:arrayof
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
rfc:arrayof [2014/01/15 21:36] – Added performance philstu | rfc:arrayof [2014/01/17 09:13] – fix typo tyrael | ||
---|---|---|---|
Line 21: | Line 21: | ||
</ | </ | ||
- | The square brackets allow type-hinting for an array where each value is of a specific type. This is handy when simply type-hinting with " | + | The square brackets allow type-hinting for an array where each value is of a specific type. This is handy when simply type-hinting with " |
Default values can still be used: | Default values can still be used: | ||
Line 118: | Line 118: | ||
===== Unaffected PHP Functionality ===== | ===== Unaffected PHP Functionality ===== | ||
- | This RFC has no effect on [[https:// | + | This RFC has no effect on [[https:// |
This also does not attempt to allow Traversable or other objects implementing interfaces to be considered an " | This also does not attempt to allow Traversable or other objects implementing interfaces to be considered an " |
rfc/arrayof.txt · Last modified: 2017/09/22 13:28 by 127.0.0.1