1
0
mirror of https://github.com/php/php-src.git synced 2026-04-26 01:18:19 +02:00
Files
archived-php-src/ext/gd/tests/bug39082.phpt
T
Pierre Joye 7ecbbfc206 - MFB: #39082, image* segfaults when used with only one argument
(introduced in 5.2+, no news entry)
2006-10-08 17:42:55 +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