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