From 674885fd4f9776dc58de541eb5be4e9254331ae8 Mon Sep 17 00:00:00 2001
From: Christoph Michael Becker <cmb@php.net>
Date: Sun, 21 Aug 2016 12:28:53 +0000
Subject: [PATCH] Fix #66817: imagecreatefromstring has undocumented warnings

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339917 c90b9560-bf6c-de11-be94-00142212c4b1
---
 reference/image/functions/imagecreatefromstring.xml | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/reference/image/functions/imagecreatefromstring.xml b/reference/image/functions/imagecreatefromstring.xml
index d57fc7afba..1b073ed748 100644
--- a/reference/image/functions/imagecreatefromstring.xml
+++ b/reference/image/functions/imagecreatefromstring.xml
@@ -41,6 +41,15 @@
    or the image is corrupt and cannot be loaded.
   </para>
  </refsect1>
+
+ <refsect1 role="errors">
+  &reftitle.errors;
+  <para>
+   <function>imagecreatefromstring</function> raises an E_WARNING level error,
+   if the data is not in a recognized format.
+  </para>
+ </refsect1>
+
  <refsect1 role="examples">
   &reftitle.examples;
   <para>