Skip to content

Fix build with PHP 8.5.0 alpha 1#252

Closed
sunpoet wants to merge 1 commit intonikic:masterfrom
sunpoet:master
Closed

Fix build with PHP 8.5.0 alpha 1#252
sunpoet wants to merge 1 commit intonikic:masterfrom
sunpoet:master

Conversation

@sunpoet
Copy link
Copy Markdown

@sunpoet sunpoet commented Jul 4, 2025

PHP 8.5.0 alpha 1 removes unused ZEND_AST_EXIT [1] and turns clone() into a function [2].

Reference: php/php-src@e421a44 [1], php/php-src@ca49a7b [2]

PHP 8.5.0 alpha 1 removes unused ZEND_AST_EXIT [1] and turns clone() into a function [2].

Reference:	php/php-src@e421a44 [1]
		php/php-src@ca49a7b [2]
@sunpoet
Copy link
Copy Markdown
Author

sunpoet commented Jul 4, 2025

Fix #251.

freebsd-git pushed a commit to freebsd/freebsd-ports that referenced this pull request Jul 4, 2025
@remicollet
Copy link
Copy Markdown
Contributor

Alternative in PR #253 similar to already committed fix for EXIT in d546378

@nikic
Copy link
Copy Markdown
Owner

nikic commented Jul 12, 2025

I've merged the variant at #253. We should indeed keep the old AST nodes. (Actually we should implement emulation for old ast versions, but that can be done separately.)

@nikic nikic closed this Jul 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants