Releases: xp-framework/compiler
Releases · xp-framework/compiler
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
::class
constant resolution - @thekid
8.8.3: Incomplete types support
8.8.2: Meta information fix
8.8.1: Annotation ambiguity fix
- Added flag to meta information to resolve ambiguity when exactly one
unnamed annotation argument is present and an array or NULL. See
xp-framework/reflection#27
(@thekid)