Searched refs:getrusage (Results 1 – 12 of 12) sorted by relevance
2 Test getrusage() function : error conditions - incorrect number of args4 <?php if (!function_exists("getrusage")) print "skip"; ?>7 /* Prototype : array getrusage ([ int $who ] )17 echo "*** Testing getrusage() : error conditions ***\n";21 $dat = getrusage(1, $extra_arg);25 $dat = getrusage($string_arg);29 $dat = getrusage($array_arg);39 $dat = getrusage($obj_arg);43 $dat = getrusage($file_handle);49 *** Testing getrusage() : error conditions ***[all …]
2 getrusage() tests4 <?php if (!function_exists("getrusage")) print "skip"; ?>8 var_dump(gettype(getrusage()));9 var_dump(gettype(getrusage(1)));10 var_dump(gettype(getrusage(-1)));11 var_dump(getrusage(array()));21 Warning: getrusage() expects parameter 1 to be integer, array given in %s on line %d
2 Test getrusage() function: basic test4 <?php if (!function_exists("getrusage")) print "skip"; ?>7 /* Prototype : array getrusage ([ int $who ] )13 echo "Simple testcase for getrusage() function\n";15 $dat = getrusage();18 echo "TEST FAILED : getrusage should return an array\n";27 Simple testcase for getrusage() function
2 Test getrusage() function : usage variation - diff data types as $who arg6 if (!function_exists("getrusage")) die("skip");10 /* Prototype : array getrusage ([ int $who ] )18 * Pass different data types as $who argument to test behaviour of getrusage()21 echo "*** Testing getrusage() : usage variations ***\n";67 // loop through each element of $inputs to check the behavior of getrusage()71 $res = getrusage($input);78 *** Testing getrusage() : usage variations ***
29 PHP_FUNCTION(getrusage);
112 PHP_FUNCTION(getrusage) in PHP_FUNCTION() argument128 if (getrusage(who, &usg) == -1) { in PHP_FUNCTION()
2965 PHP_FE(getrusage, arginfo_getrusage)
114 PHPAPI int getrusage(int who, struct rusage *usage);
40 PHPAPI int getrusage(int who, struct rusage *usage) in getrusage() function
252 getrusage.c ftok.c ioutil.c codepage.c");
637 getrusage \
4139 . Added Windows support for getrusage(). (Kalle)
Completed in 44 milliseconds