rfc:parameter_type_casting_hints

Differences

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

Link to this comparison view

Next revisionBoth sides next revision
rfc:parameter_type_casting_hints [2012/03/04 00:38] – created ircmaxellrfc:parameter_type_casting_hints [2012/03/04 00:40] – [Philosophy] ircmaxell
Line 13: Line 13:
 ==== Philosophy ==== ==== Philosophy ====
  
 +This RFC discusses a method of adding scalar type hints to PHP while attempting to embrace the dynamic nature of PHP variables.  This means that passing a type that does not match the hinted type will cause a cast to happen (if possible, based on the normal type-casting rules used in other areas of the engine).  
 ==== More ==== ==== More ====
  
rfc/parameter_type_casting_hints.txt · Last modified: 2017/09/22 13:28 by 127.0.0.1