xref: /php-src/ext/gd/tests/bug37360.phpt (revision a375d547)
1--TEST--
2Bug #37360 (gdimagecreatefromgif, bad image sizes)
3--EXTENSIONS--
4gd
5--FILE--
6<?php
7$im = imagecreatefromgif(__DIR__ . '/bug37360.gif');
8var_dump($im);
9?>
10--EXPECTF--
11Warning: imagecreatefromgif(): "%s" is not a valid GIF file in %s on line %d
12bool(false)
13