php-src/ext/gd/tests/imageinterlace_variation1.phpt
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

19 lines
376 B
PHP

--TEST--
Testing setting the interlace bit on 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);
var_dump(imageinterlace($image, true));
var_dump(imageinterlace($image));
?>
--EXPECT--
bool(true)
bool(true)