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

Bug #47946 ImageConvolution overwrites background (fix included)
Submitted: 2009-04-10 16:26:01 Modified: 2017-01-22 14:44:59
From: jcolby Assigned: pajoye
Status: Closed Package: GD related
PHP Version: 5.2.9 OS: openSuse, CentOS, FreeBSD

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
002+ Stack trace:
001- The images are equal.
002- ===DONE===
003+ #0 %s/bug47946.php(36): 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
002+ Stack trace:
001- The images are equal.
002- ===DONE===
003+ #0 %s/bug47946.php(36): 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