Annotation of embedaddon/php/ext/standard/tests/general_functions/proc_nice_error.phpt, revision 1.1

1.1     ! misho       1: --TEST--
        !             2: Test function proc_nice() by calling it more than or less than its expected arguments
        !             3: --SKIPIF--
        !             4: <?php
        !             5: if(!function_exists('proc_nice')) die("skip. proc_nice not available ");
        !             6: ?>
        !             7: --FILE--
        !             8: <?php
        !             9: 
        !            10: 
        !            11: echo "*** Test by calling method or function with incorrect numbers of arguments ***\n"
        !            12: 
        !            13: $priority = 
        !            14: 
        !            15: 
        !            16: $extra_arg = 
        !            17: 
        !            18: var_dump(proc_nice( $priority, $extra_arg ) );
        !            19: 
        !            20: var_dump(proc_nice(  ) );
        !            21: 
        !            22: 
        !            23: ?>
        !            24: --EXPECTF--
        !            25: Parse error: syntax error, unexpected T_VARIABLE, expecting ',' or ';' in %s on line %d

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>