Type declarations allow a function to declare the expected types of their parameters and return value. This permits the PHP engine to enforce that the specified types are used.
KeywordsScalar Type Return Type Type Check Declaration Return Default Behavior
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.
© Mikael Olsson 2016