diff --git a/reference/image/constants.xml b/reference/image/constants.xml
index f76b25af95..81693281fb 100644
--- a/reference/image/constants.xml
+++ b/reference/image/constants.xml
@@ -153,6 +153,18 @@
+
+
+ IMG_WEBP
+ (integer)
+
+
+
+ Used as a return value by imagetypes. Available as of
+ PHP 5.6.25 and PHP 7.0.10, respectively.
+
+
+
IMG_COLOR_TILED
diff --git a/reference/image/functions/imagetypes.xml b/reference/image/functions/imagetypes.xml
index 19a26427bc..986ff5f6ff 100644
--- a/reference/image/functions/imagetypes.xml
+++ b/reference/image/functions/imagetypes.xml
@@ -22,7 +22,7 @@
version of GD linked into PHP. The following bits are returned,
IMG_GIF | IMG_JPG |
IMG_PNG | IMG_WBMP |
- IMG_XPM.
+ IMG_XPM | IMG_WEBP.
@@ -42,6 +42,39 @@ if (imagetypes() & IMG_PNG) {
+
+
+ &reftitle.changelog;
+
+
+
+
+
+ &Version;
+ &Description;
+
+
+
+
+ 5.6.25, 7.0.10
+
+ IMG_WEBP added.
+
+
+
+
+
+
+
+
+
+ &reftitle.seealso;
+
+
+ gd_info
+
+
+