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