summaryrefslogtreecommitdiff
path: root/ext/date/tests/microtime_basic.phpt
blob: 88c49522955ec09a9f94496f9a5443c9964f41ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--TEST--
Test return type and value for expected input microtime()
--FILE--
<?php
/* 
 * proto mixed microtime([bool get_as_float])
 * Function is implemented in ext/standard/microtime.c
*/ 

var_dump(microtime());
var_dump(microtime(true));
var_dump(microtime(false));

?>
===DONE===
--EXPECTF--
string(%d) "%s %s"
float(%s)
string(%d) "%s %s"
===DONE===