mirror of
https://github.com/php/php-src.git
synced 2026-04-22 15:38:49 +02:00
a375d54785
Cf. PR #6787. Closes GH-6994.
11 lines
259 B
PHP
11 lines
259 B
PHP
--TEST--
|
|
Bug #37346 (gdimagecreatefromgif, bad colormap)
|
|
--EXTENSIONS--
|
|
gd
|
|
--FILE--
|
|
<?php
|
|
$im = imagecreatefromgif(__DIR__ . '/bug37346.gif');
|
|
?>
|
|
--EXPECTF--
|
|
Warning: imagecreatefromgif(): "%sbug37346.gif" is not a valid GIF file in %sbug37346.php on line %d
|