8000 PHP 8.4 | NewConstants: detect yet more new constants by jrfnl · Pull Request #1767 · PHPCompatibility/PHPCompatibility · GitHub
[go: up one dir, main page]

Skip to content

PHP 8.4 | NewConstants: detect yet more new constants #1767

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 4 commits into from
Sep 18, 2024

Conversation

jrfnl
Copy link
Member
@jrfnl jrfnl commented Sep 15, 2024

Follow up on #1749. Yet more new constants have been added.

PHP 8.4 | NewConstants: detect use of CURLOPT_SERVER_RESPONSE_TIMEOUT

  • Curl:
    . Added CURLOPT_SERVER_RESPONSE_TIMEOUT, which was formerly known as
    CURLOPT_FTP_RESPONSE_TIMEOUT. Both constants hold the same value.

This commit accounts for the new constant.

Refs:

PHP 8.4 | NewConstants: detect use of MYSQLI_TYPE_VECTOR

  • Mysqli:
    . A new constant has been added: MYSQLI_TYPE_VECTOR.

This commit accounts for the new constant.

Refs:

PHP 8.4 | NewConstants: detect use of SO_BINDTOIFINDEX

  • Sockets:
    . SO_BINDTOIFINDEX.

This commit accounts for the new constant.

Refs:

PHP 8.4 | NewConstants: detect use of CURLOPT_PREREQFUNCTION et al

  • Curl:
    . Added CURLOPT_PREREQFUNCTION as a Curl option that accepts a callback to
    be called after the connection is made, but before the request is sent.
    The callback must return either CURL_PREREQFUNC_OK or CURL_PREREQFUNC_ABORT
    to allow or abort the request.

This commit accounts for the new constants.

Refs:

Related to #1731

> - Curl:
>  . Added CURLOPT_SERVER_RESPONSE_TIMEOUT, which was formerly known as
>    CURLOPT_FTP_RESPONSE_TIMEOUT. Both constants hold the same value.

This commit accounts for the new constant.

Refs:
* https://github.com/php/php-src/blob/0f8259e896dd609aa9f5a8274ead17d81185a45c/UPGRADING#L295-L296
* php/php-src 15126
* php/php-src@a8df3d1

Related to 1731
> - Mysqli:
>  . A new constant has been added: MYSQLI_TYPE_VECTOR.

This commit accounts for the new constant.

Refs:
* https://github.com/php/php-src/blob/1a126c540a8e01cec74898c84da537474ec6c5de/UPGRADING#L953
* php/php-src 15431
* php/php-src@a1ab846

Related to 1731
> - Sockets:
>  . SO_BINDTOIFINDEX.

This commit accounts for the new constant.

Refs:
* https://github.com/php/php-src/blob/5121acaa665482c941d1b2a12769da128a6de8d7/UPGRADING#L1099
* php/php-src 15479
* php/php-src@d713e36

Related to 1731
> - Curl:
> . Added CURLOPT_PREREQFUNCTION as a Curl option that accepts a callback to
>   be called after the connection is made, but before the request is sent.
>   The callback must return either CURL_PREREQFUNC_OK or CURL_PREREQFUNC_ABORT
>   to allow or abort the request.

This commit accounts for the new constants.

Refs:
* https://github.com/php/php-src/blob/e358634cdce6a7505b7d422c23ec205a483ad2fc/UPGRADING#L295-L298
* https://github.com/php/php-src/blob/e358634cdce6a7505b7d422c23ec205a483ad2fc/UPGRADING#L1019-L1021
* php/php-src 13255
* php/php-src@a3b7cc2
* php/php-src@fde34bc

Related to 1731
@jrfnl jrfnl added enhancement PR: quick merge PR only contains relatively simple changes PR: ready for review labels Sep 15, 2024
@jrfnl jrfnl added this to the 10.0.0 milestone Sep 15, 2024
@jrfnl jrfnl requested a review from wimg September 15, 2024 18:12
@wimg wimg merged commit 88826f6 into develop Sep 18, 2024
46 checks passed
@wimg wimg deleted the php-8.4/newconstants-yet-more-of-them branch September 18, 2024 22:38
@github-actions github-actions bot removed PR: quick merge PR only contains relatively simple changes PR: ready for review labels Sep 18, 2024
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
0