rfc:to-array

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Last revisionBoth sides next revision
rfc:to-array [2020/02/11 13:02] – Update language to specify behavior with respect to strict typing stevenwadejrrfc:to-array [2020/02/11 13:04] – Update error message comment stevenwadejr
Line 126: Line 126:
 } }
  
-foo($person); // Throws an error: "Return value of bar() must be of the type array, object returned"+foo($person); // Throws an error: "Argument 1 passed to foo() must be of the type array, object given"
 </code> </code>
  
rfc/to-array.txt · Last modified: 2020/02/11 13:57 by stevenwadejr