Releases: xp-framework/compiler
Releases · xp-framework/compiler
8.15.0: Override annotation
- Merged PR #173: Check for
#[Override]annotation, implementing this
PHP 8.3 RFC: https://wiki.php.net/rfc/marking_overriden_methods
(@thekid) - Merged PR #171: Refactor scope lookup from Result to CodeGen - @thekid
8.14.0: Arbitrary static variable initializers
- Fixed error Cannot access offset of type array on array when using
reflection for non-constant parameter defaults
(@thekid) - Implemented feature #162: Arbitrary static variable initializers, see
https://wiki.php.net/rfc/arbitrary_static_variable_initializers
(@thekid)
8.13.0: Annotation emit refactoring
- Merged PR #169: Refactor how annotations with non-constant arguments
are emitted. This enables a transition toxp-framework/reflection
as proposed in xp-framework/rfc#338
(@thekid)
8.12.0: Return by reference
- Merged PR #168: Return by reference from methods and functions, see
https://www.php.net/manual/en/language.references.return.php
(@thekid) - Make it possible to refer to constructor parameters inside property
initialization expressions.
(@thekid)
8.11.0: Typed class constants
- Merged PR #165: Omit constant types for all PHP versions < 8.3. This
is the second part of #157, and fully implements typed constants,
https://wiki.php.net/rfc/typed_class_constants
(@thekid) - Merged PR #163: Emit meta data for class constants. This makes types
accessible via reflection and is part of #157.
(@thekid)
8.10.0: PHP 8.3: Dynamic class constants
- Merged PR #161: Support dynamic class constant fetch, the first PHP
8.3 feature: https://wiki.php.net/rfc/dynamic_class_constant_fetch
(@thekid)
8.9.0: File extensions
- Merged PR #159: Implement command line option to set file extension
for compiled files. This makes integrating with PSR-4 autoloading an
easy task, see https://www.php-fig.org/psr/psr-4/
(@thekid)
8.8.5: PHP 7.0 multi-catch fix
8.8.4: Class constant optimization
- Fixed optimization for
::classconstant resolution - @thekid