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