1--TEST--
2Testing wrong parameter passing 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");
9?>
10--FILE--
11<?php
12/*
13
14It seems the second argument passing is not being correclty checked.
15This test is failing due to this wrogn check
16
17*/
18$image = imagecreatetruecolor(180, 30);
19
20var_dump(imageantialias($image, 'wrong param')); // 'wrogn param' is converted to true
21?>
22--EXPECT--
23bool(true)
24