summaryrefslogtreecommitdiff
path: root/ext/gd/tests/imagecopymerge_error.phpt
blob: e43bf694525799bc190e890d85a2ab2987450af0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--TEST--
Testing wrong parameter passing imagecopymerge() of GD library
--CREDITS--
Cleston Viel Vieira de Sousa <cleston [dot] vs [at] gmail [dot] com>
#testfest PHPSP on 2009-06-20
--SKIPIF--
<?php 
if (!extension_loaded("gd")) die("skip GD not present");
?>
--FILE--
<?php

imagecopymerge();

?>
--EXPECTF--
Warning: imagecopymerge() expects exactly 9 parameters, 0 given in %s on line %d