Test: /ext/gd/tests/imagecolorclosesthwb.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
001- int(16724480)
003- Warning: imagecolorclosesthwb() expects exactly 4 parameters, 1 given in %s on line %d
004+ Warning: imagecreatefrompng(): gd-png: fatal libpng error: Incompatible libpng version in application and library in %s/imagecolorclosesthwb.php on line 2
004- NULL
005-
006- Warning: imagecolorclosesthwb() expects parameter 1 to be resource, null given in %s on line %d
007- NULL
008-
009- Warning: imagecolorclosesthwb() expects parameter 2 to be int, string given in %s on line %d
010- NULL
1 (50%)
001+ libpng warning: Application built with libpng-1.6.37 but running with 1.5.13
001- int(16724480)
003+ Warning: imagecreatefrompng(): gd-png error: cannot allocate libpng main struct
004+ in %s/imagecolorclosesthwb.php on line 2
005+
006+ Warning: imagecreatefrompng(): '/home/demo/Downloads/http_server_install/for_php/php-7.3.11/ext/gd/tests/test.png' is not a valid PNG file in %s/imagecolorclosesthwb.php on line 2
007+
008+ Warning: imagecolorclosesthwb() expects parameter 1 to be resource, bool given in %s/imagecolorclosesthwb.php on line 4
009+ NULL
010+
009- Warning: imagecolorclosesthwb() expects parameter 2 to be int, string given in %s on line %d
017+ Warning: imagecolorclosesthwb() expects parameter 1 to be resource, bool given in %s/imagecolorclosesthwb.php on line 8
019+
020+ Warning: imagedestroy() expects parameter 1 to be resource, bool given in %s/imagecolorclosesthwb.php on line 10