/
proc
/
3430793
/
root
/
usr
/
local
/
lsws
/
phpbuild
/
php-8.0.7
/
ext
/
gd
/
tests
/
File Upload :
llllll
Current File: //proc/3430793/root/usr/local/lsws/phpbuild/php-8.0.7/ext/gd/tests/bug79068.phpt
--TEST-- Bug #79068 (gdTransformAffineCopy() changes interpolation method) --SKIPIF-- <?php if (!extension_loaded('gd')) die('skip gd extension not available'); ?> --FILE-- <?php $src = imagecreatetruecolor(100, 100); imagefilledrectangle($src, 0, 0, 99, 99, 0xffffff); imageline($src, 10, 10, 90, 90, 0x000000); imagesetinterpolation($src, IMG_BSPLINE); imageaffine($src, [1, 1, 1, 1, 1, 1]); var_dump(imagegetinterpolation($src) === IMG_BSPLINE); ?> --EXPECT-- bool(true)
Copyright ©2k19 -
Hexid
|
Tex7ure