repo.or.cz
/
openemr.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fix for pubpid assignment by CMS Portal. Cosmetic fix for procedure_order.control_id...
[openemr.git]
/
library
/
core
/
core.get_microtime.php
blob
f1a28e04256cf45751f2d7551f54d795860dccfb
1
<
?php
2
/**
3
* Smarty plugin
4
* @package Smarty
5
* @subpackage plugins
6
*/
7
8
/**
9
* Get seconds and microseconds
10
* @return double
11
*/
12
function
smarty_core_get_microtime
(
$params
, &
$smarty
)
13
{
14
$mtime
=
microtime
();
15
$mtime
=
explode
(
" "
,
$mtime
);
16
$mtime
= (
double
)(
$mtime
[
1
])
+
(
double
)(
$mtime
[
0
]);
17
return
(
$mtime
);
18
}
19
20
21
/* vim: set expandtab: */
22
23
?
>