/
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/bug77700.phpt
--TEST-- Bug #77700 (Writing truecolor images as GIF ignores interlace flag) --SKIPIF-- <?php if (!extension_loaded('gd')) die('skip gd extension not available'); ?> --FILE-- <?php $im = imagecreatetruecolor(10, 10); imagefilledrectangle($im, 0, 0, 9, 9, imagecolorallocate($im, 255, 255, 255)); imageinterlace($im, true); imagegif($im, __DIR__ . 'bug77700.gif'); $im = imagecreatefromgif(__DIR__ . 'bug77700.gif'); var_dump(imageinterlace($im)); ?> --EXPECT-- bool(true) --CLEAN-- <?php unlink(__DIR__ . 'bug77700.gif'); ?>
Copyright ©2k19 -
Hexid
|
Tex7ure