Skip to content

Add PHP 8.6 emitter - #196

Merged
thekid merged 3 commits into
masterfrom
feature/php86-emit
Aug 2, 2026
Merged

Add PHP 8.6 emitter#196
thekid merged 3 commits into
masterfrom
feature/php86-emit

Conversation

@thekid

@thekid thekid commented Aug 2, 2026

Copy link
Copy Markdown
Member

Following the release of PHP 8.6 alpha3, this pull request introduces a specialized emitter for this version. It differs from the PHP 8.5 emitter in that it emits partial function application natively.

$r= $this->run('class %T {

public function run() {
$f= str_replace("test", ..., subject: ?);

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This raises a compile error: Variadic placeholder must be last

@thekid
thekid merged commit 65dfd45 into master Aug 2, 2026
@thekid
thekid deleted the feature/php86-emit branch August 2, 2026 11:11
@thekid

thekid commented Aug 2, 2026

Copy link
Copy Markdown
Member Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant