ID:               39780
 Updated by:       [EMAIL PROTECTED]
 Reported By:      pz at mysqlperformanceblog dot com
-Status:           Open
+Status:           Assigned
 Bug Type:         GD related
 Operating System: Linux
 PHP Version:      5.2.0
-Assigned To:      
+Assigned To:      pajoye
 New Comment:

Pierre, is E_ERROR really required in this case?


Previous Comments:
------------------------------------------------------------------------

[2006-12-08 18:25:56] pz at mysqlperformanceblog dot com

Description:
------------
Getting the following error:

PHP Fatal error:  imagecreatefromstring(): gd-png:  fatal libpng error:
IDAT: CRC error in 

Note this is FATAL error for  what should have been simply false result
code from the function. 

Reproduce code:
---------------
imagecreatefromstring(file_get_contents("http://www.bennygold.com/uploaded_images/crack_line1-793571.gif";));



Expected result:
----------------
FALSE returned from the function with warning printed 

Actual result:
--------------
Script is terminated with fatal error


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


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

Reply via email to