mirror of
https://github.com/php/php-src.git
synced 2024-12-04 23:34:25 +08:00
21 lines
356 B
PHP
21 lines
356 B
PHP
--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===
|