Test: /ext/gd/tests/bug22544.phpt - Version 7.0.30        

Bug #22544 truecolor transparent png bug in PHP's bundled libgd but not in the real gd
Submitted: 2003-03-04 23:10:02 Modified: 2003-03-05 10:04:46
From: swbrown Assigned: iliaa
Status: Closed Package: GD related
PHP Version: 4.3.2-dev OS: any

There are 2 different diffs reported by users for this test.

Count Diff
1 (50%)
001+ Fatal error: Uncaught Error: Call to undefined function imagecreatefrompng() in /root/php-7.0.30/ext/gd/tests/func.inc:86
001- The images are equal.
002+ Stack trace:
003+ #0 %s/bug22544.php(8): test_image_equals_file('/root/php-7.0.3...', Resource id #4)
004+ #1 {main}
005+ thrown in /root/php-7.0.30/ext/gd/tests/func.inc on line 86
1 (50%)
001+ Fatal error: Uncaught Error: Call to undefined function imagecreatefrompng() in /home/goufei/omc/php-7.0.30/ext/gd/tests/func.inc:86
001- The images are equal.
002+ Stack trace:
003+ #0 %s/bug22544.php(8): test_image_equals_file('/home/goufei/om...', Resource id #4)
004+ #1 {main}
005+ thrown in /home/goufei/omc/php-7.0.30/ext/gd/tests/func.inc on line 86