xref: /PHP-8.1/ext/gd/tests/bug37346.phpt (revision a375d547)
1--TEST--
2Bug #37346 (gdimagecreatefromgif, bad colormap)
3--EXTENSIONS--
4gd
5--FILE--
6<?php
7$im = imagecreatefromgif(__DIR__ . '/bug37346.gif');
8?>
9--EXPECTF--
10Warning: imagecreatefromgif(): "%sbug37346.gif" is not a valid GIF file in %sbug37346.php on line %d
11