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