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

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

Count Diff
14 (93%)
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)
1 (7%)
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 built with libpng-1.6.21 but running with 1.5.13
021+
020- int(240)
021- int(134)
022+ Parse error: imagecreatefrompng(): gd-png error: cannot allocate libpng main struct
023+ in %s/imagecrop_auto.php on line 48
024+
025+ Warning: imagecreatefrompng(): '/usr/local/src/php-7.0.4/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