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

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

Count Diff
3 (60%)
001+ libpng warning: Application built with libpng-1.6.16 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(): '/root/local/php/php-7.3.2/ext/gd/tests/test_image_equals_file_palette.png' is not a valid PNG file in /root/local/php/php-7.3.2/ext/gd/tests/func.inc on line 86
006+
007+ Warning: imageistruecolor() expects parameter 1 to be resource, bool given in /root/local/php/php-7.3.2/ext/gd/tests/func.inc on line 123
008+
009+ Warning: imagesx() expects parameter 1 to be resource, bool given in /root/local/php/php-7.3.2/ext/gd/tests/func.inc on line 126
010+
011+ Warning: imagesy() expects parameter 1 to be resource, bool given in /root/local/php/php-7.3.2/ext/gd/tests/func.inc on line 127
012+
013+ Warning: imagecreatetruecolor(): Invalid image dimensions in /root/local/php/php-7.3.2/ext/gd/tests/func.inc on line 128
014+
015+ Warning: imagecopy() expects parameter 1 to be resource, bool given in /root/local/php/php-7.3.2/ext/gd/tests/func.inc on line 129
016+
017+ Warning: imagesx() expects parameter 1 to be resource, bool given in /root/local/php/php-7.3.2/ext/gd/tests/func.inc on line 88
018+
019+ Warning: imagesy() expects parameter 1 to be resource, bool given in /root/local/php/php-7.3.2/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.6.16 but running with 1.5.13
022+
023+ Warning: imagepng(): gd-png error: cannot allocate libpng main struct in /root/local/php/php-7.3.2/ext/gd/tests/func.inc on line 147
024+
025+ Warning: imagecreatefrompng(): '/root/local/php/php-7.3.2/ext/gd/tests/test_image_equals_file_palette.png' is not a valid PNG file in /root/local/php/php-7.3.2/ext/gd/tests/func.inc on line 86
026+
027+ Warning: imageistruecolor() expects parameter 1 to be resource, bool given in /root/local/php/php-7.3.2/ext/gd/tests/func.inc on line 123
028+
029+ Warning: imagesx() expects parameter 1 to be resource, bool given in /root/local/php/php-7.3.2/ext/gd/tests/func.inc on line 126
030+
031+ Warning: imagesy() expects parameter 1 to be resource, bool given in /root/local/php/php-7.3.2/ext/gd/tests/func.inc on line 127
032+
033+ Warning: imagecreatetruecolor(): Invalid image dimensions in /root/local/php/php-7.3.2/ext/gd/tests/func.inc on line 128
034+
035+ Warning: imagecopy() expects parameter 1 to be resource, bool given in /root/local/php/php-7.3.2/ext/gd/tests/func.inc on line 129
036+
037+ Warning: imagesx() expects parameter 1 to be resource, bool given in /root/local/php/php-7.3.2/ext/gd/tests/func.inc on line 88
038+
039+ Warning: imagesy() expects parameter 1 to be resource, bool given in /root/local/php/php-7.3.2/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.6.16 but running with 1.5.13
042+
043+ Warning: imagepng(): gd-png error: cannot allocate libpng main struct in /root/local/php/php-7.3.2/ext/gd/tests/func.inc on line 147
044+ ===DONE===
1 (20%)
002+
003+ Warning: imagepng(/usr/local/src/php-7.3.2/ext/gd/tests/test_image_equals_file_palette.out.png): failed to open stream: Permission denied in /usr/local/src/php-7.3.2/ext/gd/tests/func.inc on line 147
1 (20%)
002+
003+ Warning: imagepng(/home/suporte/php-7.3.2/ext/gd/tests/test_image_equals_file_palette.out.png): failed to open stream: Permission denied in /home/suporte/php-7.3.2/ext/gd/tests/func.inc on line 147