1--TEST--
2Testing wrong parameter passing in imagefilter() of GD library
3--CREDITS--
4Guilherme Blanco <guilhermeblanco [at] hotmail [dot] com>
5#testfest PHPSP on 2009-06-20
6--EXTENSIONS--
7gd
8--FILE--
9<?php
10$image = imagecreatetruecolor(180, 30);
11
12try {
13    var_dump(imagefilter($image));
14} catch (TypeError $e) {
15    echo $e->getMessage(), "\n";
16}
17?>
18--EXPECT--
19Wrong parameter count for imagefilter()
20