1--TEST--
2Testing wrong parameter resource in imageantialias() of GD library
3--CREDITS--
4Guilherme Blanco <guilhermeblanco [at] hotmail [dot] com>
5#testfest PHPSP on 2009-06-20
6--SKIPIF--
7<?php
8if (!extension_loaded("gd")) die("skip GD not present");
9if (!GD_BUNDLED) die("skip requires bundled GD library\n");
10?>
11--FILE--
12<?php
13$image = tmpfile();
14
15var_dump(imageantialias($image, true));
16?>
17--EXPECTF--
18Warning: imageantialias(): supplied resource is not a valid Image resource in %s on line %d
19bool(false)
20