Test: /ext/gd/tests/imagecopyresampled_basic.phpt - Version 5.4.24    

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

Count Diff
2 (50%)
002+
003+ Fatal error: Call to undefined function imagepng() in %s/imagecopyresampled_basic.php on line 27
002- Size of original: width=400 height=300
003- Size of copy: width=200 height=150
004- Done
1 (25%)
002+ libpng warning: Application built with libpng-1.5.18 but running with 1.6.12
003+
004+ Warning: imagepng(): gd-png error: cannot allocate libpng main struct in %s/imagecopyresampled_basic.php on line 27
002- Size of original: width=400 height=300
003- Size of copy: width=200 height=150
004- Done
005+
006+ Notice: getimagesize(): Read error! in %s/imagecopyresampled_basic.php on line 31
007+ Size of original: width= height=
008+
009+ Warning: imagecreatetruecolor(): Invalid image dimensions in %s/imagecopyresampled_basic.php on line 38
010+
011+ Warning: imagecopyresampled() expects parameter 1 to be resource, boolean given in %s/imagecopyresampled_basic.php on line 39
012+
013+ Warning: imagepng() expects parameter 1 to be resource, boolean given in %s/imagecopyresampled_basic.php on line 41
014+
015+ Warning: getimagesize(/Users/sebastien/php-5.4.24/ext/gd/tests/imagesmall.png): failed to open stream: No such file or directory in %s/imagecopyresampled_basic.php on line 43
016+ Size of copy: width= height=
017+
018+ Warning: imagedestroy() expects parameter 1 to be resource, boolean given in %s/imagecopyresampled_basic.php on line 47
019+ Done
1 (25%)
002+ libpng warning: Application built with libpng-1.5.17 but running with 1.6.10
003+
004+ Warning: imagepng(): gd-png error: cannot allocate libpng main struct in %s/imagecopyresampled_basic.php on line 27
002- Size of original: width=400 height=300
003- Size of copy: width=200 height=150
004- Done
005+
006+ Notice: getimagesize(): Read error! in %s/imagecopyresampled_basic.php on line 31
007+ Size of original: width= height=
008+
009+ Warning: imagecreatetruecolor(): Invalid image dimensions in %s/imagecopyresampled_basic.php on line 38
010+
011+ Warning: imagecopyresampled() expects parameter 1 to be resource, boolean given in %s/imagecopyresampled_basic.php on line 39
012+
013+ Warning: imagepng() expects parameter 1 to be resource, boolean given in %s/imagecopyresampled_basic.php on line 41
014+
015+ Warning: getimagesize(/Users/jeff/mcrypt/php-5.4.24/ext/gd/tests/imagesmall.png): failed to open stream: No such file or directory in %s/imagecopyresampled_basic.php on line 43
016+ Size of copy: width= height=
017+
018+ Warning: imagedestroy() expects parameter 1 to be resource, boolean given in %s/imagecopyresampled_basic.php on line 47
019+ Done