summaryrefslogtreecommitdiff
path: root/ext/gd/tests/bug37346.phpt
blob: 57701a7ad7b757dc65ebd1e67495d0a2c78c320f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--TEST--
Bug #37346 (gdimagecreatefromgif, bad colormap)
--SKIPIF--
<?php
	if (!extension_loaded('gd')) die("skip gd extension not available\n");
?>
--FILE--
<?php
$im = imagecreatefromgif(__DIR__ . '/bug37346.gif');
?>
--EXPECTF--
Warning: imagecreatefromgif(): '%sbug37346.gif' is not a valid GIF file in %sbug37346.php on line %d