-
Notifications
You must be signed in to change notification settings - Fork 0
Support dynamic class constant fetch #161
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Tests are failing because of version constraint conflict for For the time being, we can use |
|
Performance and memory figures indicate no significant change: BeforeAfter |
|
Added to https://github.com/xp-framework/compiler/wiki/Implementation-status. This is the first PHP 8.3 feature to go into the compiler although PHP 8.3 is still quite a while away at the time of writing. |
|
The typical upgrade process will show:
|
See https://wiki.php.net/rfc/dynamic_class_constant_fetch and php/php-src#9793
$this->$member,$this->{$member}self::${$member}$this->$method(),$this->{$method}()self::$method(),self::{$method}()self::{$member}This pull request also fixes support for dynamic static properties.