xref: /PHP-7.0/ext/gd/tests/bug37360.phpt (revision 70650810)
1--TEST--
2Bug #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');
10var_dump($im);
11?>
12--EXPECTF--
13Warning: imagecreatefromgif(): '%s' is not a valid GIF file in %s on line %d
14bool(false)
15