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

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

Towards better code reviews

Towards better code reviews

Jonas Drieghe

July 14, 2020

Snapshot through the heart

Snapshot through the heart

Emma Fabre

July 02, 2020