summaryrefslogtreecommitdiff
path: root/ext/gd/tests/imagesavealpha_error2.phpt
blob: 1a7083d5267830b89f0b19f6d495663ba0624c48 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--TEST--
test imagesavealpha without arguments

--CREDITS--
Marcelo Diniz <marcelo.leo27 [at] gmail [dot] com
‪#‎phpspMaisTestFest PHPSP on 2014-07-05

--SKIPIF--
<?php
    if (!extension_loaded('gd')) die("skip gd extension not available.");
?>

--FILE--
<?php
imagesavealpha();
?>

--EXPECTF--
Warning: imagesavealpha() expects exactly 2 parameters, 0 given in %s on line %d