1--TEST--
2Test function proc_nice() by calling it more than or less than its expected arguments
3--SKIPIF--
4<?php
5if(!function_exists('proc_nice')) die("skip. proc_nice not available ");
6?>
7--FILE--
8<?php
9echo "*** Test by calling method or function with incorrect numbers of arguments ***\n";
10
11$priority = 1;
12
13$extra_arg = 1;
14
15var_dump(proc_nice( $priority, $extra_arg) );
16
17var_dump(proc_nice(  ) );
18
19
20?>
21--EXPECTF--
22*** Test by calling method or function with incorrect numbers of arguments ***
23
24Warning: proc_nice() expects exactly 1 parameter, 2 given in %s line %d
25bool(false)
26
27Warning: proc_nice() expects exactly 1 parameter, 0 given in %s line %d
28bool(false)
29