1
0
mirror of https://github.com/php/php-src.git synced 2026-03-27 01:32:22 +01:00
Files
archived-php-src/ext/date/tests/microtime_basic.phpt
Fabien Villepinte a555cc0b3d Clean DONE tags from tests
Remove most of the `===DONE===` tags and its variations.
Keep `===DONE===` if the test output otherwise becomes empty.

Closes GH-4872.
2019-11-07 21:31:47 +01:00

19 lines
332 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));
?>
--EXPECTF--
string(%d) "%s %s"
float(%s)
string(%d) "%s %s"