Tag: Type hinting

PHP Typed Properties

Lately there has been a lot of hype around the typed properties that PHP 7.4 will bring. In this post I outline why typed properties are not as big of a game changer as some people seem to …

PHP 7.1 is awesome

PHP 7.1 has been released, bringing some features I was eagerly anticipating and some surprises that had gone under my radar. New iterable pseudo-type This is the feature I’m most exited about, perhaps because I had no clue …

Missing in PHP7: Nullable return types

This is the fifth post in my Missing in PHP7 series. The previous one is about Collections. This is a short post, as there really is not much to explain or motivate. Nullable return types As of PHP7, …

Missing in PHP7: Collections

This is the fourth post in my Missing in PHP7 series. The previous one is about Value Objects. In this post I’ll outline some problems PHP has with regards to collections, the implications of those problems, and a …