1--TEST--
2sys_getloadavg() tests
3--SKIPIF--
4<?php
5if (!function_exists("sys_getloadavg")) die("skip");
6?>
7--FILE--
8<?php
9
10var_dump(sys_getloadavg(""));
11var_dump(sys_getloadavg());
12
13echo "Done\n";
14?>
15--EXPECTF--
16
17Warning: sys_getloadavg() expects exactly 0 parameters, %d given in %s
18NULL
19array(3) {
20  [0]=>
21  float(%f)
22  [1]=>
23  float(%f)
24  [2]=>
25  float(%f)
26}
27Done
28