Skip to content

Releases: xp-framework/compiler

9.7.0: Native clone with, PHP 8.5 fixes

06 Sep 09:19

Choose a tag to compare

  • Changed PHP 8.5 emitter to emit clone with expressions natively now
    that the RFC has been implemented
    (@thekid)
  • Fixed the warning Using null as an array offset is deprecated, use an
    empty string instead
    in PHP 8.5+
    (@thekid)
  • Fixed the error Arrow functions on the right hand side of |> must be
    parenthesized
    - see https://externals.io/message/128473#128554
    (@thekid)

9.6.0: Clone with, PHP 8.5

22 Jun 07:52

Choose a tag to compare

9.5.0: Pipeline operator

28 May 19:39

Choose a tag to compare

9.4.0: Final properties

05 Apr 14:05

Choose a tag to compare

9.3.3: Callable new fix

02 Mar 09:37

Choose a tag to compare

  • Fixed callable new syntax when using a variable or expression, e.g.
    new $class(...). See also php/php-src#12336
    (@thekid)

9.3.2: Match expressions fix

02 Nov 16:33

Choose a tag to compare

9.3.1: References & reflection fix

05 Oct 07:39

Choose a tag to compare

9.3.0: PHP 8.4 emitter

01 Sep 13:02

Choose a tag to compare

  • Fixed checks for property hooks emulation with asymmetric visibility
    (@thekid)
  • Added PHP 8.4 emitter which natively emits property hooks and asymmetric
    visibility syntax. This is integration-tested with PHP 8.4.0 Beta 4.
    See https://github.com/php/php-src/blob/php-8.4.0beta4/NEWS
    (@thekid)
  • Changed emitter to use native readonly classes in PHP 8.2, fixing an
    inconsistency with accessing undefined properties
    (@thekid)

9.2.0: Asymmetric visibility

27 Aug 18:31

Choose a tag to compare

9.1.1: Forward compatibility fix

27 Aug 18:23

Choose a tag to compare

  • Forward compatibility with newer xp-framework/ast releases - @thekid