Skip to content

Conversation

@arnaud-lb
Copy link
Member

Do not optimize out ini_get() when the entry does not exist during compilation, as the entry may exist later

Fixed GH-8466

@arnaud-lb arnaud-lb changed the base branch from master to PHP-8.1 May 6, 2022 16:12
@nikic
Copy link
Member

nikic commented May 7, 2022

I believe we use an enable_dl check for other similar cases during optimization.

…mpilation

The entry may exist later if dl is enabled
@arnaud-lb arnaud-lb marked this pull request as ready for review May 9, 2022 15:22
@arnaud-lb arnaud-lb merged commit 332bd03 into php:PHP-8.1 May 13, 2022
arnaud-lb added a commit that referenced this pull request May 13, 2022
…mpilation (#8507)

The entry may exist later if dl is enabled

Fixes GH-8466
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.

ini_get() is optimized out when the option does not exist

3 participants