Skip to content

Commit fa107f4

Browse files
authored
PHP 8.1 | MigrationGuide/New functions: add missing functions
* 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 GH-1448.
1 parent 5530a3a commit fa107f4

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

appendices/migration81/new-functions.xml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,40 @@
1414
</itemizedlist>
1515
</sect2>
1616

17+
<sect2 xml:id="migration81.new-functions.gd">
18+
<title>GD</title>
19+
20+
<itemizedlist>
21+
<listitem>
22+
<simpara>
23+
<function>imagecreatefromavif</function>
24+
</simpara>
25+
</listitem>
26+
<listitem>
27+
<simpara>
28+
<function>imageavif</function>
29+
</simpara>
30+
</listitem>
31+
</itemizedlist>
32+
</sect2>
33+
34+
<sect2 xml:id="migration81.new-functions.mysqli">
35+
<title>MySQLi</title>
36+
37+
<itemizedlist>
38+
<listitem>
39+
<simpara>
40+
<function>mysqli_result::fetch_column</function>
41+
</simpara>
42+
</listitem>
43+
<listitem>
44+
<simpara>
45+
<function>mysqli_fetch_column</function>
46+
</simpara>
47+
</listitem>
48+
</itemizedlist>
49+
</sect2>
50+
1751
<sect2 xml:id="migration81.new-functions.pcntl">
1852
<title>Process Control</title>
1953

0 commit comments

Comments
 (0)