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

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

Count Diff
2 (67%)
002+ libpng warning: Application built with libpng-1.6.40 but running with 1.5.13
003+
004+ Warning: imagepng(): gd-png error: cannot allocate libpng main struct
002- Size of original: width=400 height=300
003- Size of copy: width=200 height=150
004- Done
005+ in %s/imagecopyresampled_basic.php on line 27
006+
007+ Notice: getimagesize(): Read error! in %s/imagecopyresampled_basic.php on line 31
008+ Size of original: width= height=
009+
010+ Warning: imagecreatetruecolor(): Invalid image dimensions in %s/imagecopyresampled_basic.php on line 38
011+
012+ Warning: imagecopyresampled() expects parameter 1 to be resource, boolean given in %s/imagecopyresampled_basic.php on line 39
013+
014+ Warning: imagepng() expects parameter 1 to be resource, boolean given in %s/imagecopyresampled_basic.php on line 41
015+
016+ Warning: getimagesize(/usr/local/src/php-7.2.19/ext/gd/tests/imagesmall.png): failed to open stream: No such file or directory in %s/imagecopyresampled_basic.php on line 43
017+ Size of copy: width= height=
018+
019+ Warning: imagedestroy() expects parameter 1 to be resource, boolean given in %s/imagecopyresampled_basic.php on line 47
020+ Done
1 (33%)
002+ libpng warning: Application built with libpng-1.2.50 but running with 1.5.13
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(/home/php-7.2.19/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