Test: /ext/gd/tests/imageresolution_png.phpt - Version 7.2.12    

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

Count Diff
2 (67%)
001+ libpng warning: Application built with libpng-1.5.13 but running with 1.6.36
002+
003+ Warning: imagepng(): gd-png error: cannot allocate libpng main struct in %s/imageresolution_png.php on line 8
004+
005+ Warning: imagecreatefrompng(): '/usr/local/src/php-7.2.12/ext/gd/tests/imageresolution_png.png' is not a valid PNG file in %s/imageresolution_png.php on line 9
006+
007+ Warning: imageresolution() expects parameter 1 to be resource, boolean given in %s/imageresolution_png.php on line 10
008+ NULL
009+ libpng warning: Application built with libpng-1.5.13 but running with 1.6.36
010+
011+ Warning: imagepng(): gd-png error: cannot allocate libpng main struct in %s/imageresolution_png.php on line 13
012+
013+ Warning: imagecreatefrompng(): '/usr/local/src/php-7.2.12/ext/gd/tests/imageresolution_png.png' is not a valid PNG file in %s/imageresolution_png.php on line 14
014+
015+ Warning: imageresolution() expects parameter 1 to be resource, boolean given in %s/imageresolution_png.php on line 15
016+ NULL
001- array(2) {
002- [0]=>
003- int(71)
004- [1]=>
005- int(71)
006- }
007- array(2) {
008- [0]=>
009- int(71)
010- [1]=>
011- int(299)
012- }
1 (33%)
001+ libpng warning: Application built with libpng-1.2.49 but running with 1.5.13
002+
003+ Warning: imagepng(): gd-png error: cannot allocate libpng main struct in %s/imageresolution_png.php on line 8
004+
005+ Warning: imagecreatefrompng(): '/usr/local/src/src/php-7.2.12/ext/gd/tests/imageresolution_png.png' is not a valid PNG file in %s/imageresolution_png.php on line 9
006+
007+ Warning: imageresolution() expects parameter 1 to be resource, boolean given in %s/imageresolution_png.php on line 10
008+ NULL
009+ libpng warning: Application built with libpng-1.2.49 but running with 1.5.13
010+
011+ Warning: imagepng(): gd-png error: cannot allocate libpng main struct in %s/imageresolution_png.php on line 13
012+
013+ Warning: imagecreatefrompng(): '/usr/local/src/src/php-7.2.12/ext/gd/tests/imageresolution_png.png' is not a valid PNG file in %s/imageresolution_png.php on line 14
014+
015+ Warning: imageresolution() expects parameter 1 to be resource, boolean given in %s/imageresolution_png.php on line 15
016+ NULL
001- array(2) {
002- [0]=>
003- int(71)
004- [1]=>
005- int(71)
006- }
007- array(2) {
008- [0]=>
009- int(71)
010- [1]=>
011- int(299)
012- }