[DOC-CVS] [doc-en] master: PHP 8.1 | Migration guide: add IMAGETYPE_AVIF constant

[email protected] (Rodrigo Primo via Christian Weiske) Mon, 23 Mar 2026 12:05:05 +0000
Newsgroups php.doc.cvs
Message-ID <[email protected]>
Author: Rodrigo Primo (rodrigoprimo)
Committer: Christian Weiske (cweiske)
Date: 2026-03-23T13:05:03+01:00

Commit: https://github.com/php/doc-en/commit/f9267d3c90067ceb7d2d546b6c66ff15beee4734
Raw diff: https://github.com/php/doc-en/commit/f9267d3c90067ceb7d2d546b6c66ff15beee4734.diff

PHP 8.1 | Migration guide: add IMAGETYPE_AVIF constant

Add the `IMAGETYPE_AVIF` constant to the PHP 8.1 migration guide.

The Standard section was placed at the end of the file, after Tokenizer, following the pattern used in the PHP 8.5 migration guide. I'm not sure if this is correct or not.

Refs:
* https://github.com/php/php-src/pull/7091

Changed paths:
  M  appendices/migration81/constants.xml


Diff:

diff --git a/appendices/migration81/constants.xml b/appendices/migration81/constants.xml
index 684bf1b98368..513935bdad6a 100644
--- a/appendices/migration81/constants.xml
+++ b/appendices/migration81/constants.xml
@@ -155,6 +155,16 @@
   </itemizedlist>
  </sect2>
 
+ <sect2 xml:id="migration81.constants.standard">
+  <title>Standard</title>
+
+  <itemizedlist>
+   <listitem>
+    <simpara><constant>IMAGETYPE_AVIF</constant></simpara>
+   </listitem>
+  </itemizedlist>
+ </sect2>
+
 </sect1>
 <!-- Keep this comment at the end of the file
 Local variables: