1--TEST--
2getrusage() tests
3--SKIPIF--
4<?php if (!function_exists("getrusage")) print "skip"; ?>
5--FILE--
6<?php
7
8var_dump(gettype(getrusage()));
9var_dump(gettype(getrusage(1)));
10var_dump(gettype(getrusage(-1)));
11
12
13echo "Done\n";
14?>
15--EXPECT--
16string(5) "array"
17string(5) "array"
18string(5) "array"
19Done
20