Linux SRV-16 6.18.44-paas #1 SMP PREEMPT_DYNAMIC Thu Aug 13 10:08:12 UTC 2026 x86_64
/
proc
/
thread-self
/
root
/
opt
/
php-8.2.13-202312181106
/
share
/
test
/
imagick
/
tests
/
//proc/thread-self/root/opt/php-8.2.13-202312181106/share/test/imagick/tests/github_174.phpt
--TEST-- Imagick::resizeImage prevent 0 width/height images --SKIPIF-- <?php require_once(dirname(__FILE__) . '/skipif.inc'); ?> --FILE-- <?php $i = new Imagick; $i->newPseudoImage(1, 1000, "xc:red"); $i->resizeImage(0, 250, 0, 1); echo $i->getImageWidth(); // should be 1 ?> --EXPECTF-- 1