summaryrefslogtreecommitdiff
path: root/ext/gd/tests/bug66590_1.phpt
blob: 9e598d1eae9f2f5f4ad6d529b0b2e2c6b81459d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--TEST--
Bug #66590 (imagewebp() doesn't pad to even length) - segfault
--SKIPIF--
<?php
if (!extension_loaded('gd')) die('skip gd extension not available');
if (!function_exists('imagewebp')) die('skip WebP support not available');
?>
--FILE--
<?php
$im = imagecreatetruecolor(6, 6);
ob_start();
imagewebp($im);
ob_end_clean();
echo "ready\n";
?>
--EXPECT--
ready