mirror of
https://github.com/php/php-src.git
synced 2025-08-18 15:08:55 +02:00
Fix typo.
catched by: ssb
This commit is contained in:
parent
d47b44e3c2
commit
240d17f12f
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ PHP_FUNCTION(microtime)
|
|||
msec = (double) (tp.tv_usec / MICRO_IN_SEC);
|
||||
sec = tp.tv_sec;
|
||||
}
|
||||
if (msec > 1.0) msec -= (long) msec;
|
||||
if (msec >= 1.0) msec -= (long) msec;
|
||||
snprintf(ret, 100, "%.8f %ld", msec, sec);
|
||||
RETVAL_STRING(ret,1);
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue