xref: /PHP-8.3/ext/gd/tests/bug72337.phpt (revision a375d547)
1--TEST--
2 #72337	segfault in imagescale with new dimensions being <=0)
3--EXTENSIONS--
4gd
5--FILE--
6<?php
7$im = imagecreatetruecolor(1, 1);
8imagescale($im, 0, 0, IMG_BICUBIC_FIXED);
9echo "OK";
10?>
11--EXPECT--
12OK
13