Test: /ext/gd/tests/imagecolorclosesthwb.phpt - Version 5.3.21    

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

Count Diff
2 (67%)
001+ Warning: imagecreatefrompng(): gd-png: fatal libpng error: Incompatible libpng version in application and library in %s/imagecolorclosesthwb.php on line 2
001- int(16724480)
002-
003- Warning: imagecolorclosesthwb() expects exactly 4 parameters, 1 given in %s on line %d
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 long, string given in %s on line %d
010- NULL
1 (33%)
001+ libpng warning: Application built with libpng-1.4.8 but running with 1.5.14
002+ gd-png error: cannot allocate libpng main struct
003+
004+ Warning: imagecreatefrompng(): '/src/php-5.3.21/ext/gd/tests/test.png' is not a valid PNG file in %s/imagecolorclosesthwb.php on line 2
005+
006+ Warning: imagecolorclosesthwb() expects parameter 1 to be resource, boolean given in %s/imagecolorclosesthwb.php on line 4
007+ NULL
001- int(16724480)
009- Warning: imagecolorclosesthwb() expects parameter 2 to be long, string given in %s on line %d
015+ Warning: imagecolorclosesthwb() expects parameter 1 to be resource, boolean given in %s/imagecolorclosesthwb.php on line 8
017+
018+ Warning: imagedestroy() expects parameter 1 to be resource, boolean given in %s/imagecolorclosesthwb.php on line 10