Skip to content

fix: Fix upstream BC break on INI_INT() macro#2387

Merged
alexandre-daubois merged 1 commit intophp:mainfrom
zeriyoshi:bc_fix_php_master
Apr 30, 2026
Merged

fix: Fix upstream BC break on INI_INT() macro#2387
alexandre-daubois merged 1 commit intophp:mainfrom
zeriyoshi:bc_fix_php_master

Conversation

@zeriyoshi
Copy link
Copy Markdown
Contributor

The latest PHP development branch has removed the INI_INT() macro in favor of zend_ini_long_literal() (see php/php-src#21146).

This breaks FrankenPHP builds against PHP master. This PR introduces a preprocessor macro to support both the old and new APIs.

Copy link
Copy Markdown
Contributor

@henderkes henderkes left a comment

Choose a reason for hiding this comment

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

thanks!

@alexandre-daubois alexandre-daubois merged commit 25261e5 into php:main Apr 30, 2026
68 of 76 checks passed
@alexandre-daubois
Copy link
Copy Markdown
Member

Thank you @zeriyoshi!

@zeriyoshi zeriyoshi deleted the bc_fix_php_master branch April 30, 2026 07:25
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.

4 participants