1--TEST--
2Testing setting the interlace bit off with imageinterlace() of GD library
3--CREDITS--
4Edgar Ferreira da Silva <contato [at] edgarfs [dot] com [dot] br>
5#testfest PHPSP on 2009-06-20
6--EXTENSIONS--
7gd
8--FILE--
9<?php
10
11$image = imagecreatetruecolor(100, 100);
12
13//setting the interlace bit to on
14imageinterlace($image, true);
15
16//setting de interlace bit to off
17var_dump(imageinterlace($image, false));
18var_dump(imageinterlace($image));
19?>
20--EXPECT--
21bool(false)
22bool(false)
23