Skip to content

PHP 8.1 | NewFunctions: account for PHP 8.1 changes#1325

Merged
wimg merged 6 commits intodevelopfrom
php-8.1/newfunctions-account-for-php-8.1-changes
Mar 16, 2022
Merged

PHP 8.1 | NewFunctions: account for PHP 8.1 changes#1325
wimg merged 6 commits intodevelopfrom
php-8.1/newfunctions-account-for-php-8.1-changes

Conversation

@jrfnl
Copy link
Copy Markdown
Member

@jrfnl jrfnl commented Mar 9, 2022

PHP 8.1 | NewFunctions: handle new array_is_list() function

Includes unit test.

Refs:

PHP 8.1 | NewFunctions: handle new fsync() functions

Includes unit tests.

Refs:

PHP 8.1 | NewFunctions: handle new image*avif() functions

GD:

  • Avif support is now available through the imagecreatefromavif() and
    imageavif() functions, if libgd has been built with avif support.

Includes unit tests.

Refs:

PHP 8.1 | NewFunctions: handle new MySqli function

While only the method is mentioned in the RFC and the Migration guide, a procedural version of the same was also implemented.

Includes unit tests.

Refs:

PHP 8.1 | NewFunctions: handle new pcntl_rfork() function

Includes unit tests.

Refs:

PHP 8.1 | NewFunctions: handle new Sodium functions

Includes unit tests.

Refs:

Related to #1299

jrfnl added 6 commits March 9, 2022 02:23
> GD:
> * Avif support is now available through the `imagecreatefromavif()` and
>     `imageavif()` functions, if libgd has been built with avif support.

Includes unit tests.

Refs:
* https://github.com/php/php-src/blob/f67986a9218f4889d9352a87c29337a5b6eaa4bd/UPGRADING#L245-L247
* php/php-src#7026
* php/php-src@81f6d36
While only the method is mentioned in the RFC and the Migration guide, a procedural version of the same was also implemented.

Includes unit tests.

Refs:
* https://www.php.net/manual/en/migration81.new-features.php#migration81.new-features.mysqli.mysqli_fetch_column
* https://wiki.php.net/rfc/mysqli_fetch_column
* php/php-src#6798
* php/php-src@54222a6
@jrfnl jrfnl added Type: enhancement PR: quick merge PR only contains relatively simple changes PR: ready for review labels Mar 9, 2022
@jrfnl jrfnl added this to the 10.0.0 milestone Mar 9, 2022
@jrfnl jrfnl requested a review from wimg March 9, 2022 01:55
@wimg wimg merged commit 2245c08 into develop Mar 16, 2022
@wimg wimg deleted the php-8.1/newfunctions-account-for-php-8.1-changes branch March 16, 2022 13:19
@jrfnl jrfnl removed PR: quick merge PR only contains relatively simple changes PR: ready for review labels Sep 4, 2022
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