Skip to content

Commit eaee796

Browse files
committed
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
1 parent 2b5457c commit eaee796

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

appendices/migration81/new-functions.xml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,23 @@
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+
1734
<sect2 xml:id="migration81.new-functions.pcntl">
1835
<title>Process Control</title>
1936

0 commit comments

Comments
 (0)