Doc #66817 [Opn->Csd]: imagecreatefromstring has undocumented warnings

From: Date: Sun, 21 Aug 2016 12:29:22 +0000
Subject: Doc #66817 [Opn->Csd]: imagecreatefromstring has undocumented warnings
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-13847@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=66817&edit=1

 ID:                 66817
 Updated by:         cmb@php.net
 Reported by:        php at terite dot com
 Summary:            imagecreatefromstring has undocumented warnings
-Status:             Open
+Status:             Closed
 Type:               Documentation Problem
 Package:            GD related
 PHP Version:        Irrelevant
-Assigned To:        
+Assigned To:        cmb
 Block user comment: N
 Private report:     N

 New Comment:

This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation better.


Previous Comments:
------------------------------------------------------------------------
[2016-08-21 12:28:55] cmb@php.net

Automatic comment from SVN on behalf of cmb
Revision: http://svn.php.net/viewvc/?view=revision&revision=339917
Log: Fix #66817: imagecreatefromstring has undocumented warnings

------------------------------------------------------------------------
[2014-03-03 21:32:11] php at terite dot com

Description:
------------
imagecreatefromstring has an undocumented warning when creating from an invalid image source.

Test script:
---------------
<?php
var_dump(imagecreatefromstring('whee php'));

Expected result:
----------------
bool(false)

Actual result:
--------------
PHP Warning:  imagecreatefromstring(): Data is not in a recognized format in /test.php on line 2
PHP Stack trace:
PHP   1. {main}() /test.php:0
PHP   2. imagecreatefromstring() /test.php:2

Warning: imagecreatefromstring(): Data is not in a recognized format in /test.php on line 2

Call Stack:
    0.0001     224640   1. {main}() /test.php:0
    0.0001     225296   2. imagecreatefromstring() /test.php:2

bool(false)


------------------------------------------------------------------------



--
Edit this bug report at https://bugs.php.net/bug.php?id=66817&edit=1


Thread (2 messages)

« previous php.doc.bugs (#13847) next »