mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Document #72596: imagetypes function won't advertise WEBP support
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339665 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
d6e89ce431
commit
83694c8940
2 changed files with 46 additions and 1 deletions
|
@ -153,6 +153,18 @@
|
|||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.img-webp">
|
||||
<term>
|
||||
<constant>IMG_WEBP</constant>
|
||||
(<type>integer</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
Used as a return value by <function>imagetypes</function>. Available as of
|
||||
PHP 5.6.25 and PHP 7.0.10, respectively.
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.img-color-tiled">
|
||||
<term>
|
||||
<constant>IMG_COLOR_TILED</constant>
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
version of GD linked into PHP. The following bits are returned,
|
||||
<constant>IMG_GIF</constant> | <constant>IMG_JPG</constant> |
|
||||
<constant>IMG_PNG</constant> | <constant>IMG_WBMP</constant> |
|
||||
<constant>IMG_XPM</constant>.
|
||||
<constant>IMG_XPM</constant> | <constant>IMG_WEBP</constant>.
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="examples">
|
||||
|
@ -42,6 +42,39 @@ if (imagetypes() & IMG_PNG) {
|
|||
</example>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="changelog">
|
||||
&reftitle.changelog;
|
||||
<para>
|
||||
<informaltable>
|
||||
<tgroup cols="2">
|
||||
<thead>
|
||||
<row>
|
||||
<entry>&Version;</entry>
|
||||
<entry>&Description;</entry>
|
||||
</row>
|
||||
</thead>
|
||||
<tbody>
|
||||
<row>
|
||||
<entry>5.6.25, 7.0.10</entry>
|
||||
<entry>
|
||||
<constant>IMG_WEBP</constant> added.
|
||||
</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
</informaltable>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>gd_info</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
|
|
Loading…
Reference in a new issue