diff options
Diffstat (limited to 'ext/gd/tests/bug77700.phpt')
-rw-r--r-- | ext/gd/tests/bug77700.phpt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/gd/tests/bug77700.phpt b/ext/gd/tests/bug77700.phpt index 27b93cf0d0..a14a2259eb 100644 --- a/ext/gd/tests/bug77700.phpt +++ b/ext/gd/tests/bug77700.phpt @@ -8,14 +8,14 @@ if (!extension_loaded('gd')) die('skip gd extension not available'); <?php $im = imagecreatetruecolor(10, 10); imagefilledrectangle($im, 0, 0, 9, 9, imagecolorallocate($im, 255, 255, 255)); -imageinterlace($im, 1); +imageinterlace($im, true); imagegif($im, __DIR__ . 'bug77700.gif'); $im = imagecreatefromgif(__DIR__ . 'bug77700.gif'); var_dump(imageinterlace($im)); ?> --EXPECT-- -int(1) +bool(true) --CLEAN-- <?php unlink(__DIR__ . 'bug77700.gif'); |