rfc:arrayof
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
rfc:arrayof [2014/01/15 21:39] – Added note about scalar type hinting 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: |
rfc/arrayof.txt · Last modified: 2017/09/22 13:28 by 127.0.0.1