Annotation of embedaddon/php/ext/standard/tests/general_functions/sys_getloadavg.phpt, revision 1.1.1.1
1.1 misho 1: --TEST--
2: sys_getloadavg() tests
3: --SKIPIF--
4: <?php
5: if (!function_exists("sys_getloadavg")) die("skip");
6: ?>
7: --FILE--
8: <?php
9:
10: var_dump(sys_getloadavg(""));
11: var_dump(sys_getloadavg());
12:
13: echo "Done\n";
14: ?>
15: --EXPECTF--
16: array(3) {
17: [0]=>
18: float(%f)
19: [1]=>
20: float(%f)
21: [2]=>
22: float(%f)
23: }
24: array(3) {
25: [0]=>
26: float(%f)
27: [1]=>
28: float(%f)
29: [2]=>
30: float(%f)
31: }
32: Done
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>