Skip to content

Remove HAVE_JSON symbol #13277

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

Merged
merged 1 commit into from
Feb 1, 2024
Merged

Remove HAVE_JSON symbol #13277

merged 1 commit into from
Feb 1, 2024

Conversation

petk
Copy link
Member

@petk petk commented Jan 30, 2024

The json extension is always available as of php 8.0. HAVE_JSON was also never defined for Windows builds.

I'd simply remove this in PHP-8.4, otherwise I can wait with this PR for PHP-9.0 if it's too early for this...

The json extension is always available as of php 8.0. HAVE_JSON was also
never defined for Windows builds.
Copy link
Member

@bukka bukka left a comment

Choose a reason for hiding this comment

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

Not sure why it was kept as even previously one should be probably checking with #ifdef... Fine with removal in master though

@petk
Copy link
Member Author

petk commented Feb 1, 2024

Ok, I'll merge this and also look around the extensions ecosystem a bit if there are fixes needed somewhere. So far I've located only Phalcon and nothing major actually.

@petk petk merged commit 649fafb into php:master Feb 1, 2024
@petk petk deleted the patch-autoconf-have-json branch February 1, 2024 13:41
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.

3 participants