Test: /ext/gd/tests/test_image_equals_file_palette.phpt - Version 7.2.19    

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

Count Diff
2 (67%)
001+ libpng warning: Application built with libpng-1.6.40 but running with 1.5.13
002+
003+ Warning: imagepng(): gd-png error: cannot allocate libpng main struct
001- The images differ in 25 pixels.
002- The images are equal.
003- ===DONE===
004+ in %s/test_image_equals_file_palette.php on line 10
005+
006+ Warning: imagecreatefrompng(): '/usr/local/src/php-7.2.19/ext/gd/tests/test_image_equals_file_palette.png' is not a valid PNG file in /usr/local/src/php-7.2.19/ext/gd/tests/func.inc on line 86
007+
008+ Warning: imageistruecolor() expects parameter 1 to be resource, boolean given in /usr/local/src/php-7.2.19/ext/gd/tests/func.inc on line 123
009+
010+ Warning: imagesx() expects parameter 1 to be resource, boolean given in /usr/local/src/php-7.2.19/ext/gd/tests/func.inc on line 126
011+
012+ Warning: imagesy() expects parameter 1 to be resource, boolean given in /usr/local/src/php-7.2.19/ext/gd/tests/func.inc on line 127
013+
014+ Warning: imagecreatetruecolor(): Invalid image dimensions in /usr/local/src/php-7.2.19/ext/gd/tests/func.inc on line 128
015+
016+ Warning: imagecopy() expects parameter 1 to be resource, boolean given in /usr/local/src/php-7.2.19/ext/gd/tests/func.inc on line 129
017+
018+ Warning: imagesx() expects parameter 1 to be resource, boolean given in /usr/local/src/php-7.2.19/ext/gd/tests/func.inc on line 88
019+
020+ Warning: imagesy() expects parameter 1 to be resource, boolean given in /usr/local/src/php-7.2.19/ext/gd/tests/func.inc on line 89
021+ The image size differs: expected x, got 10x10.
022+ libpng warning: Application built with libpng-1.6.40 but running with 1.5.13
023+
024+ Warning: imagepng(): gd-png error: cannot allocate libpng main struct
025+ in /usr/local/src/php-7.2.19/ext/gd/tests/func.inc on line 147
026+
027+ Warning: imagecreatefrompng(): '/usr/local/src/php-7.2.19/ext/gd/tests/test_image_equals_file_palette.png' is not a valid PNG file in /usr/local/src/php-7.2.19/ext/gd/tests/func.inc on line 86
028+
029+ Warning: imageistruecolor() expects parameter 1 to be resource, boolean given in /usr/local/src/php-7.2.19/ext/gd/tests/func.inc on line 123
030+
031+ Warning: imagesx() expects parameter 1 to be resource, boolean given in /usr/local/src/php-7.2.19/ext/gd/tests/func.inc on line 126
032+
033+ Warning: imagesy() expects parameter 1 to be resource, boolean given in /usr/local/src/php-7.2.19/ext/gd/tests/func.inc on line 127
034+
035+ Warning: imagecreatetruecolor(): Invalid image dimensions in /usr/local/src/php-7.2.19/ext/gd/tests/func.inc on line 128
036+
037+ Warning: imagecopy() expects parameter 1 to be resource, boolean given in /usr/local/src/php-7.2.19/ext/gd/tests/func.inc on line 129
038+
039+ Warning: imagesx() expects parameter 1 to be resource, boolean given in /usr/local/src/php-7.2.19/ext/gd/tests/func.inc on line 88
040+
041+ Warning: imagesy() expects parameter 1 to be resource, boolean given in /usr/local/src/php-7.2.19/ext/gd/tests/func.inc on line 89
042+ The image size differs: expected x, got 10x10.
043+ libpng warning: Application built with libpng-1.6.40 but running with 1.5.13
044+
045+ Warning: imagepng(): gd-png error: cannot allocate libpng main struct
046+ in /usr/local/src/php-7.2.19/ext/gd/tests/func.inc on line 147
047+ ===DONE===
1 (33%)
001+ libpng warning: Application built with libpng-1.2.50 but running with 1.5.13
002+
003+ Warning: imagepng(): gd-png error: cannot allocate libpng main struct in %s/test_image_equals_file_palette.php on line 10
001- The images differ in 25 pixels.
002- The images are equal.
003- ===DONE===
004+
005+ Warning: imagecreatefrompng(): '/home/php-7.2.19/ext/gd/tests/test_image_equals_file_palette.png' is not a valid PNG file in /home/php-7.2.19/ext/gd/tests/func.inc on line 86
006+
007+ Warning: imageistruecolor() expects parameter 1 to be resource, boolean given in /home/php-7.2.19/ext/gd/tests/func.inc on line 123
008+
009+ Warning: imagesx() expects parameter 1 to be resource, boolean given in /home/php-7.2.19/ext/gd/tests/func.inc on line 126
010+
011+ Warning: imagesy() expects parameter 1 to be resource, boolean given in /home/php-7.2.19/ext/gd/tests/func.inc on line 127
012+
013+ Warning: imagecreatetruecolor(): Invalid image dimensions in /home/php-7.2.19/ext/gd/tests/func.inc on line 128
014+
015+ Warning: imagecopy() expects parameter 1 to be resource, boolean given in /home/php-7.2.19/ext/gd/tests/func.inc on line 129
016+
017+ Warning: imagesx() expects parameter 1 to be resource, boolean given in /home/php-7.2.19/ext/gd/tests/func.inc on line 88
018+
019+ Warning: imagesy() expects parameter 1 to be resource, boolean given in /home/php-7.2.19/ext/gd/tests/func.inc on line 89
020+ The image size differs: expected x, got 10x10.
021+ libpng warning: Application built with libpng-1.2.50 but running with 1.5.13
022+
023+ Warning: imagepng(): gd-png error: cannot allocate libpng main struct in /home/php-7.2.19/ext/gd/tests/func.inc on line 147
024+
025+ Warning: imagecreatefrompng(): '/home/php-7.2.19/ext/gd/tests/test_image_equals_file_palette.png' is not a valid PNG file in /home/php-7.2.19/ext/gd/tests/func.inc on line 86
026+
027+ Warning: imageistruecolor() expects parameter 1 to be resource, boolean given in /home/php-7.2.19/ext/gd/tests/func.inc on line 123
028+
029+ Warning: imagesx() expects parameter 1 to be resource, boolean given in /home/php-7.2.19/ext/gd/tests/func.inc on line 126
030+
031+ Warning: imagesy() expects parameter 1 to be resource, boolean given in /home/php-7.2.19/ext/gd/tests/func.inc on line 127
032+
033+ Warning: imagecreatetruecolor(): Invalid image dimensions in /home/php-7.2.19/ext/gd/tests/func.inc on line 128
034+
035+ Warning: imagecopy() expects parameter 1 to be resource, boolean given in /home/php-7.2.19/ext/gd/tests/func.inc on line 129
036+
037+ Warning: imagesx() expects parameter 1 to be resource, boolean given in /home/php-7.2.19/ext/gd/tests/func.inc on line 88
038+
039+ Warning: imagesy() expects parameter 1 to be resource, boolean given in /home/php-7.2.19/ext/gd/tests/func.inc on line 89
040+ The image size differs: expected x, got 10x10.
041+ libpng warning: Application built with libpng-1.2.50 but running with 1.5.13
042+
043+ Warning: imagepng(): gd-png error: cannot allocate libpng main struct in /home/php-7.2.19/ext/gd/tests/func.inc on line 147
044+ ===DONE===