xref: /PHP-7.3/ext/gd/tests/bug72696.phpt (revision 56934749)
1--TEST--
2Bug #72696 (imagefilltoborder stackoverflow on truecolor images)
3--SKIPIF--
4<?php
5if (!extension_loaded('gd')) die('skip gd extension not available');
6?>
7--FILE--
8<?php
9$im = imagecreatetruecolor(10, 10);
10imagefilltoborder($im, 0, 0, 1, -2);
11?>
12===DONE===
13--EXPECT--
14===DONE===
15