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--
16Warning: sys_getloadavg() expects exactly 0 parameters, %d given in %s
17NULL
18array(3) {
19  [0]=>
20  float(%f)
21  [1]=>
22  float(%f)
23  [2]=>
24  float(%f)
25}
26Done
27