summaryrefslogtreecommitdiff
path: root/ext/gd/tests/bug37360.phpt
blob: 356c877f71539126b0fc1d266a5ed3362f9c8910 (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(__DIR__ . '/bug37360.gif');
var_dump($im);
?>
--EXPECTF--
Warning: imagecreatefromgif(): "%s" is not a valid GIF file in %s on line %d
bool(false)