Skip to content

Declare ext/standard constants in stubs - part 2#9426

Merged
kocsismate merged 1 commit intophp:masterfrom
kocsismate:const-standard2
Aug 26, 2022
Merged

Declare ext/standard constants in stubs - part 2#9426
kocsismate merged 1 commit intophp:masterfrom
kocsismate:const-standard2

Conversation

@kocsismate
Copy link
Member

Initially, I wanted to declare these constants in basic_functions.stub.php, but it would have required to include lots of headers in basic_functions.c, and the result would still have been questionable, since a lot of constants are conditionally declared via #ifdefs. That's why I went with this solution for now, but I'm open for any feedback!

Copy link
Member

@cmb69 cmb69 left a comment

Choose a reason for hiding this comment

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

This solution makes sense to me. Thank you!

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.

2 participants