DEV Community

Typed properties in PHP

Brent Roose on June 13, 2019

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 comp...
Collapse
 
aleksikauppila profile image
Aleksi Kauppila

Are you sure nullable string can be 1?

Collapse
 
brendt profile image
Brent Roose

That was a type and fixed now :)