Skip to content

Commit fa24e18

Browse files
committed
PHP 8.5 | Image constants: add IMAGETYPE_HEIF constant
Document the `IMAGETYPE_HEIF` constant in the image extension constants reference. Refs: * php/php-src#18940 * php/php-src#20713
1 parent 9aed343 commit fa24e18

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

reference/image/constants.xml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -701,6 +701,18 @@
701701
</simpara>
702702
</listitem>
703703
</varlistentry>
704+
<varlistentry xml:id="constant.imagetype-heif">
705+
<term>
706+
<constant>IMAGETYPE_HEIF</constant>
707+
(<type>int</type>)
708+
</term>
709+
<listitem>
710+
&gd.constants.type;
711+
<simpara>
712+
(Available as of PHP 8.5.0)
713+
</simpara>
714+
</listitem>
715+
</varlistentry>
704716
<varlistentry xml:id="constant.imagetype-unknown">
705717
<term>
706718
<constant>IMAGETYPE_UNKNOWN</constant>

0 commit comments

Comments
 (0)