1--TEST--
2Test posix_times() function : basic functionality
3--EXTENSIONS--
4posix
5--FILE--
6<?php
7  echo "Basic test of POSIX times function\n";
8
9  $times = posix_times();
10
11  var_dump($times);
12
13
14  if ($times == FALSE) {
15    $errno= posix_get_last_error();
16    var_dump(posix_strerror($errno));
17  }
18
19?>
20===DONE====
21--EXPECTF--
22Basic test of POSIX times function
23array(5) {
24  ["ticks"]=>
25  int(%i)
26  ["utime"]=>
27  int(%i)
28  ["stime"]=>
29  int(%i)
30  ["cutime"]=>
31  int(%i)
32  ["cstime"]=>
33  int(%i)
34}
35===DONE====
36