mirror of
https://github.com/php/php-src.git
synced 2024-09-28 13:26:11 +00:00
26 lines
503 B
PHP
26 lines
503 B
PHP
--TEST--
|
|
Test function proc_nice() by calling it more than or less than its expected arguments
|
|
--SKIPIF--
|
|
<?php
|
|
if(!function_exists('proc_nice')) die("skip. proc_nice not available ");
|
|
?>
|
|
--FILE--
|
|
<?php
|
|
|
|
|
|
echo "*** Test by calling method or function with incorrect numbers of arguments ***\n"
|
|
|
|
$priority =
|
|
|
|
|
|
$extra_arg =
|
|
|
|
var_dump(proc_nice( $priority, $extra_arg ) );
|
|
|
|
var_dump(proc_nice( ) );
|
|
|
|
|
|
?>
|
|
--EXPECTF--
|
|
Parse error: syntax error, unexpected T_VARIABLE, expecting ',' or ';' in %s on line %d
|