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

Querying your Redux store with GraphQL

Querying your Redux store with GraphQL

Emma Fabre

December 21, 2020

Serverless functions with Vercel

Serverless functions with Vercel

Geoffrey Dhuyvetters

September 02, 2020

I'm starting a greenfield project and I'm terrified.

I'm starting a greenfield project and I'm terrified.

Jonas Drieghe

August 04, 2020