Ready or not, typehints are here
PHP 7.0 brought typehints for scalar values. Since version 7.1 they are actually usable. Typed class properties, covariance and contravariance are hopefully coming. I will talk about what this will allow us to do and how to leverage these features for better and safer code. Some pitfalls of the present state of things will be identified and possible remedies suggested. This talk will concentrate on PHP, but since typehinting seems to be the trend in other dynamically typed languages as well, it will also keep the wider context in mind.