php-src/ext/gd/tests/bug39082.phpt
Pierre Joye 895aa7d7f7 - #39082, image* segfaults when used with only one argument
(introduced in 5.2+, no news entry)
2006-10-08 17:36:10 +00:00

19 lines
313 B
PHP

--TEST--
Bug #39082 (Output image to stdout segfaults).
--SKIPIF--
<?php
if (!extension_loaded('gd')) {
die("skip gd extension not available\n");
}
if (!GD_BUNDLED) {
die('skip external GD libraries may fail');
}
?>
--FILE--
<?php
$im = imagecreatetruecolor(1,1);
imagegif($im);
?>
--EXPECTF--
GIF87a%s