Annotation of embedaddon/php/ext/date/tests/microtime_basic.phpt, revision 1.1.1.1

1.1       misho       1: --TEST--
                      2: Test 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: 
                     10: var_dump(microtime());
                     11: var_dump(microtime(true));
                     12: var_dump(microtime(false));
                     13: 
                     14: ?>
                     15: ===DONE===
                     16: --EXPECTF--
                     17: string(%d) "%s %s"
                     18: float(%s)
                     19: string(%d) "%s %s"
                     20: ===DONE===

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>