PHP 8.2 is here! #shorts

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

PHP is getting better and better, I am excited to see what features they will add in newer versions🤩

morteza
Автор

Trait constants. Never understood why this wasn't possible and now we can finally use them there.

invisiblesmiley
Автор

I'm amazed how they still think of new cool features which seem actually useful 😄

unconv
Автор

PHP 8.2 is about more OOP. Now, if it turns out that OOP is x % slower vs non-OOP approach, would you stop using it? No? No for what %? Like 50% slower and still use OOP? If yes, what's the minimum speed gain in order to stop using it? I appreciate your thoughts.

pixtweaks
Автор

what ide did u use? and also how to add those like hash with types (# ThisIsType) above the method?

kirayamato
Автор

Pretty weak features so far. Only feature I could think of using regularily is readonly classes for models

oliverschmidt