Better Type Hinting Proposal for Class Properties in PHP 7.1 - Lately in PHP podcast episode 70
By Manuel Lemos
PHP 7.0 brought us type hinting for class functions and return values, but there was still a missing piece in this giant leap for PHP which is type hinting for class properties.
The latest improvements to the proposal for class property type hinting in PHP 7.1 were one of the main topics discussed by Manuel Lemos and Arturs Sosins in the episode 70 of the Lately in PHP podcast hangout.
They also talked about several other proposals like Null Coealesce Equal Operator, the glitch of not evaluating arguments of new operator for classes without constructors, the latest proposal on catching multiple exception types, allowing empty property names to support json_decode, the spaceship assignment operator, the result of the var deprecation proposal vote.
Special attention to a call for donations to the family of Nate Abele, the core developer of CakePHP and Lithium PHP frameworks.
This article includes a transcript of podcast summary.
Listen to the podcast, or watch the hangout video, or read the summary transcript to learn more about these interesting PHP topics.