Linux SRV-16 6.18.44-paas #1 SMP PREEMPT_DYNAMIC Thu Aug 13 10:08:12 UTC 2026 x86_64
/
opt
/
php-8.2.13-202312181106
/
share
/
test
/
imagick
/
tests
/
//opt/php-8.2.13-202312181106/share/test/imagick/tests/319_Imagick_getInterpolateMethod.phpt
--TEST-- Test Imagick, getInterpolateMethod/setInterpolateMethod --SKIPIF-- <?php require_once(dirname(__FILE__) . '/skipif.inc'); checkClassMethods('Imagick', array('getInterpolateMethod')); ?> --FILE-- <?php function getInterpolateMethod() { $imagick = new \Imagick(); $value = $imagick->getInterpolateMethod(); echo "Interpolate method is " . $value . "\n"; $imagick->newPseudoImage(640, 480, "gradient:red-blue"); $imagick->setInterpolateMethod(Imagick::INTERPOLATE_BILINEAR); $value = $imagick->getInterpolateMethod(); echo "Interpolate method is now " . $value . "\n"; } getInterpolateMethod() ; echo "Ok"; ?> --EXPECTF-- Interpolate method is 0 Interpolate method is now 5 Ok