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

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

Count Diff
1 (50%)
001+ libpng warning: Application was compiled with png.h from libpng-1.6.34
002+ libpng warning: Application is running with png.c from libpng-1.2.49
003+
004+ Warning: imagepng(): gd-png: fatal libpng error: Incompatible libpng version in application and library in %s/imageresolution_png.php on line 8
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- }
013- ===DONE===
1 (50%)
001+ libpng warning: Application built with libpng-1.6.37 but running with 1.5.13
002+
003+ Warning: imagepng(): gd-png error: cannot allocate libpng main struct
004+ in %s/imageresolution_png.php on line 8
005+
006+ Warning: imagecreatefrompng(): '/home/demo/Downloads/http_server_install/for_php/php-7.3.11/ext/gd/tests/imageresolution_png.png' is not a valid PNG file in %s/imageresolution_png.php on line 9
007+
008+ Warning: imageresolution() expects parameter 1 to be resource, bool given in %s/imageresolution_png.php on line 10
009+ NULL
010+ libpng warning: Application built with libpng-1.6.37 but running with 1.5.13
011+
012+ Warning: imagepng(): gd-png error: cannot allocate libpng main struct
013+ in %s/imageresolution_png.php on line 13
014+
015+ Warning: imagecreatefrompng(): '/home/demo/Downloads/http_server_install/for_php/php-7.3.11/ext/gd/tests/imageresolution_png.png' is not a valid PNG file in %s/imageresolution_png.php on line 14
016+
017+ Warning: imageresolution() expects parameter 1 to be resource, bool given in %s/imageresolution_png.php on line 15
018+ 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- }