Typed properties in PHP
Link – – stitcher.io
Brent wrote another nice post on PHP. This time on the upcoming typed hints feature of PHP 7.4.
Typed class properties were added in PHP 7.4 and provide a major improvement to PHP's type system. These changes are fully opt-in and backwards compatible. In this post we'll look at the feature in-depth.
Read more [stitcher.io]