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

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

Count Diff
4 (57%)
001+ Fatal error: Call to undefined function imagecreatefrompng() 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
2 (29%)
001+ gd-png: fatal libpng error: Incompatible libpng version in application and library
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 (14%)
001+ libpng warning: Application was compiled with png.h from libpng-1.6.2
002+ libpng warning: Application is running with png.c from libpng-1.2.49
003+ gd-png: fatal libpng error: Incompatible libpng version in application and library
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