rfc:typehint_array_desctructuring
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Last revisionBoth sides next revision | ||
rfc:typehint_array_desctructuring [2020/04/16 10:38] – Added union type example wol-soft | rfc:typehint_array_desctructuring [2020/04/16 11:43] – wol-soft | ||
---|---|---|---|
Line 19: | Line 19: | ||
===== Proposal ===== | ===== Proposal ===== | ||
- | This proposal adds a new syntax to add type hints to array destructuring expressions. The type hints behave identically to the type hints processed for function calls (compare https:// | + | This proposal adds a new syntax to add type hints to array destructuring expressions. The type hints behave identically to the type hints processed for function calls (compare https:// |
<code php> | <code php> |
rfc/typehint_array_desctructuring.txt · Last modified: 2020/04/16 13:56 by wol-soft