|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2016-08-21 12:28 UTC] cmb@php.net
[2016-08-21 12:29 UTC] cmb@php.net
-Status: Open
+Status: Closed
-Assigned To:
+Assigned To: cmb
[2016-08-21 12:29 UTC] cmb@php.net
[2020-02-07 06:06 UTC] phpdocbot@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Dec 14 11:00:02 2025 UTC |
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)