summaryrefslogtreecommitdiff
path: root/ext/standard/tests/general_functions/getrusage.phpt
blob: 8ec131809fd5a91bc7bada597cf8e47c063076b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--TEST--
getrusage() tests
--SKIPIF--
<?php if (!function_exists("getrusage")) print "skip"; ?>
--FILE--
<?php

var_dump(gettype(getrusage()));
var_dump(gettype(getrusage(1)));
var_dump(gettype(getrusage(-1)));


echo "Done\n";
?>
--EXPECT--
string(5) "array"
string(5) "array"
string(5) "array"
Done