mirror of
https://github.com/php/php-src.git
synced 2024-10-21 08:22:42 +00:00
19 lines
313 B
Plaintext
19 lines
313 B
Plaintext
|
--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
|