xref: /PHP-8.2/ext/posix/tests/posix_times.phpt (revision 74859783)
1--TEST--
2Test posix_times()
3--DESCRIPTION--
4Gets information about the current CPU usage.
5Source code: ext/posix/posix.c
6--CREDITS--
7Falko Menge, mail at falko-menge dot de
8PHP Testfest Berlin 2009-05-10
9--EXTENSIONS--
10posix
11--FILE--
12<?php
13    var_dump(posix_times());
14?>
15--EXPECTF--
16array(5) {
17  ["ticks"]=>
18  int(%i)
19  ["utime"]=>
20  int(%d)
21  ["stime"]=>
22  int(%d)
23  ["cutime"]=>
24  int(%d)
25  ["cstime"]=>
26  int(%d)
27}
28