xref: /PHP-8.0/ext/gd/tests/bug37346-mb.phpt (revision c5401854)
1--TEST--
2Bug #37346 (gdimagecreatefromgif, bad colormap)
3--SKIPIF--
4<?php
5    if (!extension_loaded('gd')) die("skip gd extension not available\n");
6?>
7--FILE--
8<?php
9$im = imagecreatefromgif(__DIR__ . '/bug37346私はガラスを食べられます.gif');
10?>
11--EXPECTF--
12Warning: imagecreatefromgif(): "%sbug37346私はガラスを食べられます.gif" is not a valid GIF file in %sbug37346-mb.php on line %d
13