General statistics
List of Youtube channels
Youtube commenter search
Distinguished comments
About
Winnetou17
Theo - t3․gg
comments
Comments by "Winnetou17" (@Winnetou17) on "I was too dumb for Laravel. Then they fixed it." video.
@jabbruh Yes you can. Since PHP 7.0 (which is many years old), though it wasn't everything at once, bits and pieces got added with newer versions. It's still not perfect, as Nick Hamilton above said, you still don't have typed arrays. But you have classes (first thing they added), you have the base (scalar) types like int or ?int (int or null aka nullable int), you have union types so you can more exactly define arguments and returns (like int|float aka int or float). How many decades ago have you last time checked PHP ?
7