Annotation of embedaddon/php/ext/gd/tests/bug39286.phpt, revision 1.1.1.1

1.1       misho       1: --TEST--
                      2: Bug #39508 (imagefill crashes with small images 3 pixels or less)
                      3: --SKIPIF--
                      4: <?php
                      5:        if (!extension_loaded('gd')) die("skip gd extension not available\n");
                      6: ?>
                      7: --FILE--
                      8: <?php
                      9: $img =imagecreatefromgd2part("foo.png",0, 100, 0, 100);
                     10: ?>
                     11: --EXPECTF--
                     12: 
                     13: Warning: imagecreatefromgd2part(): Zero width or height not allowed in %s on line %d

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>