1--TEST--
2Testing wrong param passing imageellipse() of GD library
3--CREDITS--
4Ivan Rosolen <contato [at] ivanrosolen [dot] com>
5#testfest PHPSP on 2009-06-20
6--SKIPIF--
7<?php
8if (!extension_loaded("gd")) die("skip GD not present");
9?>
10--FILE--
11<?php
12
13// Create a resource
14$image = tmpfile();
15
16// try to draw a white ellipse
17imageellipse($image, 200, 150, 300, 200, 16777215);
18?>
19--EXPECTF--
20Warning: imageellipse(): supplied resource is not a valid Image resource in %s on line %d
21