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

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

Count Diff
2 (22%)
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 (11%)
001+ libpng warning: Interlace handling should be turned on when using png_read_image
1 (11%)
001+ libpng warning: Application was compiled with png.h from libpng-1.5.12
002+ libpng warning: Application is running with png.c from libpng-1.2.46
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 (11%)
001+ libpng warning: Application was compiled with png.h from libpng-1.5.12
002+ libpng warning: Application is running with png.c from libpng-1.2.46
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+ Aborted (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 (11%)
001+ libpng warning: Application was compiled with png.h from libpng-1.5.12
002+ libpng warning: Application is running with png.c from libpng-1.2.46
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+ Aborted
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 (11%)
001+ libpng warning: Application was compiled with png.h from libpng-1.4.5
002+ libpng warning: Application is running with png.c from libpng-1.2.44
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
1 (11%)
001+ libpng warning: Application was compiled with png.h from libpng-1.4.0
002+ libpng warning: Application is running with png.c from libpng-1.2.44
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
1 (11%)
001+ libpng warning: Application built with libpng-1.2.44 but running with 1.5.9
002+
003+ Warning: imagecreatefrompng(): gd-png error: cannot allocate libpng main struct in %s/imagecolorclosesthwb.php on line 2
004+
005+ Warning: imagecreatefrompng(): '/Users/edumonti/Downloads/php-5.4.5/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