xref: /PHP-7.4/ext/gd/tests/bug39082.phpt (revision 70650810)
1--TEST--
2Bug #39082 (Output image to stdout segfaults).
3--SKIPIF--
4<?php
5	if (!extension_loaded('gd')) {
6		die("skip gd extension not available\n");
7	}
8?>
9--FILE--
10<?php
11$im = imagecreatetruecolor(1,1);
12imagegif($im);
13?>
14--EXPECTF--
15GIF87a%s
16