svn: /phpdoc/en/trunk/reference/image/ constants.xml functions/imagetypes.xml
| From: | Christoph Michael Becker | Date: | Thu, 14 Jul 2016 15:38:25 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/image/ constants.xml functions/imagetypes.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-14338@lists.php.net to get a copy of this message | ||
cmb Thu, 14 Jul 2016 15:38:25 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=339665
Log:
Document #72596: imagetypes function won't advertise WEBP support
Bug: https://bugs.php.net/72596 (Closed) imagetypes
function won't advertise WEBP support
Changed paths:
U phpdoc/en/trunk/reference/image/constants.xml
U phpdoc/en/trunk/reference/image/functions/imagetypes.xml
Modified: phpdoc/en/trunk/reference/image/constants.xml
===================================================================
--- phpdoc/en/trunk/reference/image/constants.xml 2016-07-14 10:23:01 UTC (rev 339664)
+++ phpdoc/en/trunk/reference/image/constants.xml 2016-07-14 15:38:25 UTC (rev 339665)
@@ -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>
Modified: phpdoc/en/trunk/reference/image/functions/imagetypes.xml
===================================================================
--- phpdoc/en/trunk/reference/image/functions/imagetypes.xml 2016-07-14 10:23:01 UTC (rev 339664)
+++ phpdoc/en/trunk/reference/image/functions/imagetypes.xml 2016-07-14 15:38:25 UTC (rev 339665)
@@ -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 @@
</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