Closed thekid closed 1 year ago
Tests are failing because of version constraint conflict for xp-framework/ast
: The test library wants ^9.x, we're using the development branch feature/expressions
as version 10.0.0
For the time being, we can use as 9.99.0
, but when xp-framework/ast#44 is merged, we'll have to release xp-framework/test
with an updated constraint before releasing xp-framework/compiler
!
Performance and memory figures indicate no significant change:
Test cases: 917 succeeded, 4 skipped
Memory used: 11181.34 kB (11235.46 kB peak)
Time taken: 0.262 seconds (0.760 seconds overall)
Test cases: 933 succeeded, 4 skipped
Memory used: 11413.18 kB (11467.31 kB peak)
Time taken: 0.251 seconds (0.720 seconds overall)
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 https://github.com/php/php-src/pull/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.