🥳 PHP 8.3 Released!
In this new release, we have:
⌨️ Typed Class Constants
🏛️ Dynamic Class Content Fetch
♻️ A New [#Override] Attribute
➕ …and more!
👓 Read all about it on: https://t.co/w5ziasljBK
🔗 https://t.co/lPQhZRU1qe
📦 https://t.co/VqsPMvqYvO
I've been programming in PHP for 18 years and I've been developing a major developer tool for PHP for the last 7 years. And still from time to time I stumble upon a language feature I've never seen before.
Why does this work without "return" in front of the "declare" keyword!?