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

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

Count Diff
4 (50%)
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
1 (13%)
001+ libpng warning: Interlace handling should be turned on when using png_read_image
1 (13%)
001+ libpng warning: Application was compiled with png.h from libpng-1.2.10
002+ libpng warning: Application is running with png.c from libpng-1.4.12
003+ libpng warning: Incompatible libpng version in application and library
004+ gd-png error: cannot allocate libpng main struct
001- int(16724480)
006+ Warning: imagecreatefrompng(): '/data/softwarebak/php-5.4.9/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, boolean given in %s/imagecolorclosesthwb.php on line 4
009+ NULL
010+
009- Warning: imagecolorclosesthwb() expects parameter 2 to be long, string given in %s on line %d
017+ Warning: imagecolorclosesthwb() expects parameter 1 to be resource, boolean given in %s/imagecolorclosesthwb.php on line 8
019+
020+ Warning: imagedestroy() expects parameter 1 to be resource, boolean given in %s/imagecolorclosesthwb.php on line 10
1 (13%)
001+ libpng warning: Application built with libpng-1.4.11 but running with 1.5.6
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.4.9/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 (13%)
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