Skip to content

Conversation

@jrfnl
Copy link
Contributor

@jrfnl jrfnl commented Mar 11, 2022

PHP 8.1 | MigrationGuide/New functions: add missing functions [1]

(mentioned in new features, but not in the new functions list)

GD:

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

Refs:

PHP 8.1 | MigrationGuide/New functions: add missing functions [2]

(mentioned in new features, but not in the new functions list)

mysqli_result::fetch_column() has been added to allow fetching a single scalar value from the result set.

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

Refs:

jrfnl added 2 commits March 11, 2022 04:22
(mentioned in new features, but not in the new functions list)

> GD:
> * Avif support is now available through the `imagecreatefromavif()` and
>    `imageavif()` functions, if libgd has been built with avif support.

Refs:
* https://github.com/php/php-src/blob/f67986a9218f4889d9352a87c29337a5b6eaa4bd/UPGRADING#L245-L247
* php/php-src#7026
* php/php-src@81f6d36
(mentioned in new features, but not in the new functions list)

> `mysqli_result::fetch_column()` has been added to allow fetching a single scalar value from the result set.

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

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
@cmb69
Copy link
Member

cmb69 commented Mar 11, 2022

Thank you!

@cmb69 cmb69 merged commit fa107f4 into php:master Mar 11, 2022
@jrfnl jrfnl deleted the php-8.1/migrationguide-new-functions-update branch March 11, 2022 13:01
tiffany-taylor pushed a commit to tiffany-taylor/doc-en that referenced this pull request Jan 16, 2023
* PHP 8.1 | MigrationGuide/New functions: add missing functions [1]

(mentioned in new features, but not in the new functions list)

> GD:
> * Avif support is now available through the `imagecreatefromavif()` and
>    `imageavif()` functions, if libgd has been built with avif support.

Refs:
* https://github.com/php/php-src/blob/f67986a9218f4889d9352a87c29337a5b6eaa4bd/UPGRADING#L245-L247
* php/php-src#7026
* php/php-src@81f6d36

* PHP 8.1 | MigrationGuide/New functions: add missing functions [2]

(mentioned in new features, but not in the new functions list)

> `mysqli_result::fetch_column()` has been added to allow fetching a single scalar value from the result set.

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

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

Co-authored-by: jrfnl <[email protected]>

Closes phpGH-1448.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants