Skip to content

Fix build with PHP 8.5.0 alpha 1 #252

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed

Conversation

sunpoet
Copy link

@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
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
Contributor

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

@nikic
Copy link
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