Annotation of embedaddon/php/ext/gd/tests/bug37360.phpt, revision 1.1
1.1 ! misho 1: --TEST--
! 2: Bug #37360 (gdimagecreatefromgif, bad image sizes)
! 3: --SKIPIF--
! 4: <?php
! 5: if (!extension_loaded('gd')) die("skip gd extension not available\n");
! 6: ?>
! 7: --FILE--
! 8: <?php
! 9: $im = imagecreatefromgif(dirname(__FILE__) . '/bug37360.gif');
! 10: var_dump($im);
! 11: ?>
! 12: --EXPECTF--
! 13: Warning: imagecreatefromgif(): '%s' is not a valid GIF file in %s on line %d
! 14: bool(false)
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>