1
0
mirror of https://github.com/php/php-src.git synced 2026-04-30 03:33:17 +02:00
Files
archived-php-src/ext/gd/tests/imageinterlace_variation2.phpt
T
Christoph M. Becker a375d54785 Migrate skip checks to --EXTENSIONS-- for ext/gd
Cf. PR #6787.

Closes GH-6994.
2021-05-22 15:38:51 +02:00

23 lines
479 B
PHP

--TEST--
Testing setting the interlace bit off with imageinterlace() of GD library
--CREDITS--
Edgar Ferreira da Silva <contato [at] edgarfs [dot] com [dot] br>
#testfest PHPSP on 2009-06-20
--EXTENSIONS--
gd
--FILE--
<?php
$image = imagecreatetruecolor(100, 100);
//setting the interlace bit to on
imageinterlace($image, true);
//setting de interlace bit to off
var_dump(imageinterlace($image, false));
var_dump(imageinterlace($image));
?>
--EXPECT--
bool(false)
bool(false)