mirror of
https://github.com/php/php-src.git
synced 2024-10-20 16:02:44 +00:00
895aa7d7f7
(introduced in 5.2+, no news entry)
19 lines
313 B
PHP
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
|