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