New in 7.4 are the arrow functions and the $foo ??= 'bar; assignment. 7.2 brought class-based type hinting and return types, and everything else was included in 7.0 - including $too = $foo ?? 'bar'; and scalar type hinting.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
It would be helpful if you can add the PHP version from which each feature is available. I think most features you mentioned only available in PHP 7.4
New in 7.4 are the arrow functions and the
$foo ??= 'bar;
assignment. 7.2 brought class-based type hinting and return types, and everything else was included in 7.0 - including$too = $foo ?? 'bar';
and scalar type hinting.