xref: /php-src/ext/gd/tests/gh16257.phpt (revision a2bdfeff)
1--TEST--
2GH-16257 (underflow on RBG channels handling with imagescale)
3--EXTENSIONS--
4gd
5--FILE--
6<?php
7$im = imagecreatefromstring(file_get_contents(__DIR__ . '/imagecreatefromstring.gif'));
8imagescale($im, 32, 32, IMG_BICUBIC);
9echo "DONE";
10?>
11--EXPECT--
12DONE
13