blob: 2c224ef41f5b9b865fc60e47bd98f61e7275c753 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
--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
--SKIPIF--
<?php
if (!extension_loaded("gd")) die("skip GD not present");
?>
--FILE--
<?php
$image = imagecreatetruecolor(100, 100);
var_dump(imageinterlace($image, 1));
var_dump(imageinterlace($image));
?>
--EXPECT--
int(1)
int(1)
|