#[\Override] is such a small, yet huge improvement to the OOPy-ness of PHP.
The rest of the features are all very welcome as well. Hopefully I can start upgrading some systems at work to 8.3 (especially those that are locked in at 7.4 still)
Funny, I thought to myself that #[\Override] looks like a “gadget”, kind of a nice to have. What makes you consider that it is such a huge improvement?
I see it as a little safety net, but no more than this.
It is definitely a safety net and I think because I’ve caught myself misspelling method override names it feels like a nice new feature. Plus, being able to immediately recognize what methods come from the parent is handy for reading the code.
#[\Override]is such a small, yet huge improvement to the OOPy-ness of PHP.The rest of the features are all very welcome as well. Hopefully I can start upgrading some systems at work to 8.3 (especially those that are locked in at 7.4 still)
Funny, I thought to myself that
#[\Override]looks like a “gadget”, kind of a nice to have. What makes you consider that it is such a huge improvement?I see it as a little safety net, but no more than this.
It is definitely a safety net and I think because I’ve caught myself misspelling method override names it feels like a nice new feature. Plus, being able to immediately recognize what methods come from the parent is handy for reading the code.