Menu

PHP type hints: self and parent

Published on March 14, 2015 and filed under Software engineering
Written
by Hannes Van De Vreken and will take

5 minutes

of your time.
In short
Technical strategy and developer advice: In PHP we can type hint function arguments since version 5.0. Over the years and with newer versions of PHP the number of possible type hints have increased.
Twitter logo

Want to see more articles like this in your inbox? You know what to do.

Related articles

Creating a Scientific Pitch Notation Type using template literal types

Creating a Scientific Pitch Notation Type using template literal types

Geoffrey Dhuyvetters

February 24, 2021

12 Factors in the era of containers

12 Factors in the era of containers

Tony Messias

January 29, 2021

Querying your Redux store with GraphQL

Querying your Redux store with GraphQL

Emma Fabre

December 21, 2020