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

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

Count Diff
1 (20%)
001+ libpng warning: Application was compiled with png.h from libpng-1.6.13
002+ libpng warning: Application is running with png.c from libpng-1.2.50
001- int(16724480)
003- Warning: imagecolorclosesthwb() expects exactly 4 parameters, 1 given in %s on line %d
004- NULL
004+ Warning: imagecreatefrompng(): gd-png: fatal libpng error: Incompatible libpng version in application and library in %s/imagecolorclosesthwb.php on line 2
005+ Segmentation fault (core dumped)
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 (20%)
001+ libpng warning: Application built with libpng-1.5.13 but running with 1.6.37
002+
003+ Warning: imagecreatefrompng(): gd-png error: cannot allocate libpng main struct in %s/imagecolorclosesthwb.php on line 2
004+
005+ Warning: imagecreatefrompng(): '/usr/local/src/php-5.6.17/ext/gd/tests/test.png' is not a valid PNG file in %s/imagecolorclosesthwb.php on line 2
006+
007+ Warning: imagecolorclosesthwb() expects parameter 1 to be resource, boolean given in %s/imagecolorclosesthwb.php on line 4
008+ NULL
001- int(16724480)
009- Warning: imagecolorclosesthwb() expects parameter 2 to be long, string given in %s on line %d
016+ Warning: imagecolorclosesthwb() expects parameter 1 to be resource, boolean given in %s/imagecolorclosesthwb.php on line 8
018+
019+ Warning: imagedestroy() expects parameter 1 to be resource, boolean given in %s/imagecolorclosesthwb.php on line 10
1 (20%)
001+ libpng warning: Application built with libpng-1.2.49 but running with 1.6.16
002+
003+ Warning: imagecreatefrompng(): gd-png error: cannot allocate libpng main struct in %s/imagecolorclosesthwb.php on line 2
004+
005+ Warning: imagecreatefrompng(): '/home/software/php-5.6.17/ext/gd/tests/test.png' is not a valid PNG file in %s/imagecolorclosesthwb.php on line 2
006+
007+ Warning: imagecolorclosesthwb() expects parameter 1 to be resource, boolean given in %s/imagecolorclosesthwb.php on line 4
008+ NULL
001- int(16724480)
009- Warning: imagecolorclosesthwb() expects parameter 2 to be long, string given in %s on line %d
016+ Warning: imagecolorclosesthwb() expects parameter 1 to be resource, boolean given in %s/imagecolorclosesthwb.php on line 8
018+
019+ Warning: imagedestroy() expects parameter 1 to be resource, boolean given in %s/imagecolorclosesthwb.php on line 10
1 (20%)
001+ Warning: imagecreatefrompng(): gd-png: fatal libpng error: bad parameters to zlib in %s/imagecolorclosesthwb.php on line 2
002+
003+ Warning: imagecreatefrompng(): gd-png error: setjmp returns error condition in %s/imagecolorclosesthwb.php on line 2
004+
005+ Warning: imagecreatefrompng(): '/mnt/storage1/app/php-5.6.17/ext/gd/tests/test.png' is not a valid PNG file in %s/imagecolorclosesthwb.php on line 2
006+
007+ Warning: imagecolorclosesthwb() expects parameter 1 to be resource, boolean given in %s/imagecolorclosesthwb.php on line 4
008+ NULL
001- int(16724480)
009- Warning: imagecolorclosesthwb() expects parameter 2 to be long, string given in %s on line %d
016+ Warning: imagecolorclosesthwb() expects parameter 1 to be resource, boolean given in %s/imagecolorclosesthwb.php on line 8
018+
019+ Warning: imagedestroy() expects parameter 1 to be resource, boolean given in %s/imagecolorclosesthwb.php on line 10
1 (20%)
001+ Unknown error: imagecreatefrompng(): gd-png: fatal libpng error: bad parameters to zlib
002+ in Unknown on line 0
001- int(16724480)
004+ Parse error: imagecreatefrompng(): gd-png error: setjmp returns error condition 2
005+ in %s/imagecolorclosesthwb.php on line 2
006+
007+ Warning: imagecreatefrompng(): '/mnt/storage1/app/php-5.6.17/ext/gd/tests/test.png' is not a valid PNG file in %s/imagecolorclosesthwb.php on line 2
008+
009+ Warning: imagecolorclosesthwb() expects parameter 1 to be resource, boolean given in %s/imagecolorclosesthwb.php on line 4
010+ NULL
011+
009- Warning: imagecolorclosesthwb() expects parameter 2 to be long, string given in %s on line %d
018+ Warning: imagecolorclosesthwb() expects parameter 1 to be resource, boolean given in %s/imagecolorclosesthwb.php on line 8
020+
021+ Warning: imagedestroy() expects parameter 1 to be resource, boolean given in %s/imagecolorclosesthwb.php on line 10