diff options
Diffstat (limited to 'ext/gd/tests/bug39082.phpt')
| -rw-r--r-- | ext/gd/tests/bug39082.phpt | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/ext/gd/tests/bug39082.phpt b/ext/gd/tests/bug39082.phpt new file mode 100644 index 0000000..9bd6f5e --- /dev/null +++ b/ext/gd/tests/bug39082.phpt @@ -0,0 +1,15 @@ +--TEST-- +Bug #39082 (Output image to stdout segfaults). +--SKIPIF-- +<?php + if (!extension_loaded('gd')) { + die("skip gd extension not available\n"); + } +?> +--FILE-- +<?php +$im = imagecreatetruecolor(1,1); +imagegif($im); +?> +--EXPECTF-- +GIF87a%s |
