xref: /PHP-5.4/ext/date/tests/microtime_basic.phpt (revision 0d422894)
1--TEST--
2Test return type and value for expected input microtime()
3--FILE--
4<?php
5/*
6 * proto mixed microtime([bool get_as_float])
7 * Function is implemented in ext/standard/microtime.c
8*/
9
10var_dump(microtime());
11var_dump(microtime(true));
12var_dump(microtime(false));
13
14?>
15===DONE===
16--EXPECTF--
17string(%d) "%s %s"
18float(%s)
19string(%d) "%s %s"
20===DONE===
21