diff options
| author | Cassio de Campos <cassiopc@gmail.com> | 2017-07-26 15:46:34 +0000 |
|---|---|---|
| committer | Cassio de Campos <cassiopc@gmail.com> | 2017-07-26 15:46:34 +0000 |
| commit | a2940a363ba6c22bc1058f9520c29ed5949f345f (patch) | |
| tree | 9c3f09d800f865310a53ded78891073f3d693f50 /src | |
| parent | 458fb9e679bdec59f55193c1acd448beb54c29f7 (diff) | |
| download | boca-a2940a363ba6c22bc1058f9520c29ed5949f345f.tar.gz boca-a2940a363ba6c22bc1058f9520c29ed5949f345f.zip | |
bug fix
Diffstat (limited to 'src')
| -rwxr-xr-x | src/globals.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/globals.php b/src/globals.php index e475f57..d41760d 100755 --- a/src/globals.php +++ b/src/globals.php @@ -258,12 +258,12 @@ function mytime() { return time(); } function mymtime() { - list($usec, $sec) = explode(" ", microtime()); + list($usec, $sec) = explode(" ", microtime(true)); return (float) (((int) (1000*$usec))/1000 + $sec); } function myunique() { - list($usec, $sec) = explode(" ", microtime()); - return (int) (((int)($usec * 100)) + (((int)$sec) % 1000000)); + list($usec, $sec) = explode(" ", microtime(true)); + return (int) (100*($usec + (((int)$sec) % 1000000) )); } //retorna data e hora atuais function now () { |