PHP 8.4 is a major update of the PHP language. It contains many new features, such as property hooks, asymmetric visibility, an updated DOM API, performance improvements, bug fixes, and general cleanup.
I wonder why lazy objects were implemented via reflection. I wonder if we are getting a native construct in the future (like “lazy” keyword before Ctor and maybe PHP attributes to mark methods as lazy skippable.
I wonder why lazy objects were implemented via reflection. I wonder if we are getting a native construct in the future (like “lazy” keyword before Ctor and maybe PHP attributes to mark methods as lazy skippable.