Skip to content

File: Drop curl 7.10.5 conditional#965

Merged
jtojnar merged 1 commit intomasterfrom
wip/jtojnar/mincurl
Jan 15, 2026
Merged

File: Drop curl 7.10.5 conditional#965
jtojnar merged 1 commit intomasterfrom
wip/jtojnar/mincurl

Conversation

@jtojnar
Copy link
Member

@jtojnar jtojnar commented Jan 15, 2026

PHP 7.2 requires at least libcurl 7.10.5 so the check is always true on all supported PHP versions:
https://github.com/php/php-src/blob/php-7.2.0/ext/curl/config.m4#L34

PHP 7.3 bumps the minimum to 7.15.5 but, even when we drop support for PHP < 7.4, that won’t help us with cleanups:
https://github.com/php/php-src/blob/php-7.3.0/ext/curl/config.m4#L32

PHP 8.0 further bumps this to 7.29.0, which would allow us to remove the remaining conditionals, but we still support 7.2.0 for now and will support 7.4.0 for a while.
https://github.com/php/php-src/blob/php-8.0.0/ext/curl/config.m4#L7

PHP 7.2 requires at least libcurl 7.10.5 so the check is always true on all supported PHP versions:
https://github.com/php/php-src/blob/php-7.2.0/ext/curl/config.m4#L34

PHP 7.3 bumps the minimum to 7.15.5 but, even when we drop support for PHP < 7.4, that won’t help us with cleanups:
https://github.com/php/php-src/blob/php-7.3.0/ext/curl/config.m4#L32

PHP 8.0 further bumps this to 7.29.0, which would allow us to remove the remaining conditionals, but we still support 7.2.0 for now and will support 7.4.0 for a while.
https://github.com/php/php-src/blob/php-8.0.0/ext/curl/config.m4#L7
@jtojnar jtojnar force-pushed the wip/jtojnar/mincurl branch from ad03066 to df993b7 Compare January 15, 2026 07:39
@jtojnar jtojnar merged commit ae7dec6 into master Jan 15, 2026
20 checks passed
@jtojnar jtojnar deleted the wip/jtojnar/mincurl branch January 15, 2026 07:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants