summaryrefslogtreecommitdiff
path: root/ext/gd/tests/imagecopymerge_error.phpt
blob: 90d9c55871c8d4f3aac3692d9ce1a1c886f0b6c1 (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