xref: /PHP-8.0/ext/gd/tests/bug39082.phpt (revision c5401854)
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