Test: /ext/gd/tests/imagecrop_auto.phpt - Version 5.5.10    

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

Count Diff
21 (60%)
002+ int(99)
003+ int(99)
004+ Palette IMG_CROP_DEFAULT
005+ int(99)
006+ int(99)
002- int(11)
003- int(11)
004- Palette IMG_CROP_DEFAULT
005- int(11)
006- int(11)
2 (6%)
020+
021+ Warning: imagecreatefrompng(): gd-png: fatal libpng error: Incompatible libpng version in application and library in %s/imagecrop_auto.php on line 48
020- int(240)
021- int(134)
2 (6%)
002+ int(99)
003+ int(99)
004+ Palette IMG_CROP_DEFAULT
005+ int(99)
006+ int(99)
002- int(11)
003- int(11)
004- Palette IMG_CROP_DEFAULT
005- int(11)
006- int(11)
020+
021+ Fatal error: Call to undefined function imagecreatefrompng() in %s/imagecrop_auto.php on line 48
020- int(240)
021- int(134)
1 (3%)
020+ libpng warning: Application built with libpng-1.5.17 but running with 1.6.9
021+
020- int(240)
021- int(134)
022+ Warning: imagecreatefrompng(): gd-png error: cannot allocate libpng main struct in %s/imagecrop_auto.php on line 48
023+
024+ Warning: imagecreatefrompng(): '/Users/alwinimac/Downloads/php-5.5.10/ext/gd/tests/logo_noise.png' is not a valid PNG file in %s/imagecrop_auto.php on line 48
025+
026+ Warning: imagecropauto() expects parameter 1 to be resource, boolean given in %s/imagecrop_auto.php on line 49
027+
028+ Warning: imagepng() expects parameter 1 to be resource, null given in %s/imagecrop_auto.php on line 50
029+
030+ Warning: imagesx() expects parameter 1 to be resource, null given in %s/imagecrop_auto.php on line 51
031+ NULL
032+
033+ Warning: imagesy() expects parameter 1 to be resource, null given in %s/imagecrop_auto.php on line 52
034+ NULL
1 (3%)
020+ libpng warning: Application built with libpng-1.5.17 but running with 1.6.9
021+
020- int(240)
021- int(134)
022+ Warning: imagecreatefrompng(): gd-png error: cannot allocate libpng main struct in %s/imagecrop_auto.php on line 48
023+
024+ Warning: imagecreatefrompng(): '/Users/admin/Documents/php/php-5.5.10/ext/gd/tests/logo_noise.png' is not a valid PNG file in %s/imagecrop_auto.php on line 48
025+
026+ Warning: imagecropauto() expects parameter 1 to be resource, boolean given in %s/imagecrop_auto.php on line 49
027+
028+ Warning: imagepng() expects parameter 1 to be resource, null given in %s/imagecrop_auto.php on line 50
029+
030+ Warning: imagesx() expects parameter 1 to be resource, null given in %s/imagecrop_auto.php on line 51
031+ NULL
032+
033+ Warning: imagesy() expects parameter 1 to be resource, null given in %s/imagecrop_auto.php on line 52
034+ NULL
1 (3%)
020+ libpng warning: Application built with libpng-1.5.17 but running with 1.6.3
021+
020- int(240)
021- int(134)
022+ Warning: imagecreatefrompng(): gd-png error: cannot allocate libpng main struct in %s/imagecrop_auto.php on line 48
023+
024+ Warning: imagecreatefrompng(): '/Users/vigintas/Downloads/php_5.5.10_installer/php-5.5.10/ext/gd/tests/logo_noise.png' is not a valid PNG file in %s/imagecrop_auto.php on line 48
025+
026+ Warning: imagecropauto() expects parameter 1 to be resource, boolean given in %s/imagecrop_auto.php on line 49
027+
028+ Warning: imagepng() expects parameter 1 to be resource, null given in %s/imagecrop_auto.php on line 50
029+
030+ Warning: imagesx() expects parameter 1 to be resource, null given in %s/imagecrop_auto.php on line 51
031+ NULL
032+
033+ Warning: imagesy() expects parameter 1 to be resource, null given in %s/imagecrop_auto.php on line 52
034+ NULL
1 (3%)
020+ libpng warning: Application built with libpng-1.5.17 but running with 1.6.10
021+
020- int(240)
021- int(134)
022+ Warning: imagecreatefrompng(): gd-png error: cannot allocate libpng main struct in %s/imagecrop_auto.php on line 48
023+
024+ Warning: imagecreatefrompng(): '/private/tmp/php-5.5.10/ext/gd/tests/logo_noise.png' is not a valid PNG file in %s/imagecrop_auto.php on line 48
025+
026+ Warning: imagecropauto() expects parameter 1 to be resource, boolean given in %s/imagecrop_auto.php on line 49
027+
028+ Warning: imagepng() expects parameter 1 to be resource, null given in %s/imagecrop_auto.php on line 50
029+
030+ Warning: imagesx() expects parameter 1 to be resource, null given in %s/imagecrop_auto.php on line 51
031+ NULL
032+
033+ Warning: imagesy() expects parameter 1 to be resource, null given in %s/imagecrop_auto.php on line 52
034+ NULL
1 (3%)
020+ libpng warning: Application built with libpng-1.5.17 but running with 1.6.10
021+
020- int(240)
021- int(134)
022+ Warning: imagecreatefrompng(): gd-png error: cannot allocate libpng main struct in %s/imagecrop_auto.php on line 48
023+
024+ Warning: imagecreatefrompng(): '/Users/matteogiaccone/src/php-5.5.10/ext/gd/tests/logo_noise.png' is not a valid PNG file in %s/imagecrop_auto.php on line 48
025+
026+ Warning: imagecropauto() expects parameter 1 to be resource, boolean given in %s/imagecrop_auto.php on line 49
027+
028+ Warning: imagepng() expects parameter 1 to be resource, null given in %s/imagecrop_auto.php on line 50
029+
030+ Warning: imagesx() expects parameter 1 to be resource, null given in %s/imagecrop_auto.php on line 51
031+ NULL
032+
033+ Warning: imagesy() expects parameter 1 to be resource, null given in %s/imagecrop_auto.php on line 52
034+ NULL
1 (3%)
020+ libpng warning: Application built with libpng-1.5.17 but running with 1.6.10
021+
020- int(240)
021- int(134)
022+ Warning: imagecreatefrompng(): gd-png error: cannot allocate libpng main struct in %s/imagecrop_auto.php on line 48
023+
024+ Warning: imagecreatefrompng(): '/Users/jfranklin/Downloads/php-5.5.10/ext/gd/tests/logo_noise.png' is not a valid PNG file in %s/imagecrop_auto.php on line 48
025+
026+ Warning: imagecropauto() expects parameter 1 to be resource, boolean given in %s/imagecrop_auto.php on line 49
027+
028+ Warning: imagepng() expects parameter 1 to be resource, null given in %s/imagecrop_auto.php on line 50
029+
030+ Warning: imagesx() expects parameter 1 to be resource, null given in %s/imagecrop_auto.php on line 51
031+ NULL
032+
033+ Warning: imagesy() expects parameter 1 to be resource, null given in %s/imagecrop_auto.php on line 52
034+ NULL
1 (3%)
020+ libpng warning: Application built with libpng-1.5.17 but running with 1.6.10
021+
020- int(240)
021- int(134)
022+ Warning: imagecreatefrompng(): gd-png error: cannot allocate libpng main struct in %s/imagecrop_auto.php on line 48
023+
024+ Warning: imagecreatefrompng(): '/Users/alexsears/Downloads/php-5.5.10/ext/gd/tests/logo_noise.png' is not a valid PNG file in %s/imagecrop_auto.php on line 48
025+
026+ Warning: imagecropauto() expects parameter 1 to be resource, boolean given in %s/imagecrop_auto.php on line 49
027+
028+ Warning: imagepng() expects parameter 1 to be resource, null given in %s/imagecrop_auto.php on line 50
029+
030+ Warning: imagesx() expects parameter 1 to be resource, null given in %s/imagecrop_auto.php on line 51
031+ NULL
032+
033+ Warning: imagesy() expects parameter 1 to be resource, null given in %s/imagecrop_auto.php on line 52
034+ NULL
1 (3%)
020+
021+ Warning: imagecreatefrompng(): gd-png: fatal libpng error: bad parameters to zlib in %s/imagecrop_auto.php on line 48
020- int(240)
021- int(134)
022+
023+ Warning: imagecreatefrompng(): gd-png error: setjmp returns error condition in %s/imagecrop_auto.php on line 48
024+
025+ Warning: imagecreatefrompng(): '/usr/local/php-5.5.10/ext/gd/tests/logo_noise.png' is not a valid PNG file in %s/imagecrop_auto.php on line 48
026+
027+ Warning: imagecropauto() expects parameter 1 to be resource, boolean given in %s/imagecrop_auto.php on line 49
028+
029+ Warning: imagepng() expects parameter 1 to be resource, null given in %s/imagecrop_auto.php on line 50
030+
031+ Warning: imagesx() expects parameter 1 to be resource, null given in %s/imagecrop_auto.php on line 51
032+ NULL
033+
034+ Warning: imagesy() expects parameter 1 to be resource, null given in %s/imagecrop_auto.php on line 52
035+ NULL
1 (3%)
002+ int(99)
003+ int(99)
004+ Palette IMG_CROP_DEFAULT
005+ int(99)
006+ int(99)
002- int(11)
003- int(11)
004- Palette IMG_CROP_DEFAULT
005- int(11)
006- int(11)
020+ libpng warning: Application was compiled with png.h from libpng-1.6.10
021+ libpng warning: Application is running with png.c from libpng-1.2.49
020- int(240)
021- int(134)
022+
023+ Unknown error: imagecreatefrompng(): gd-png: fatal libpng error: Incompatible libpng version in application and library
024+ in Unknown on line 0
1 (3%)