changed git call from https to git readonly
[atutor.git] / mods / phpdoc2 / PhpDocumentor / phpDocumentor / Smarty-2.6.0 / libs / core / core.get_microtime.php
1 <?php\r
2 /**\r
3  * Smarty plugin\r
4  * @package Smarty\r
5  * @subpackage plugins\r
6  */\r
7 \r
8 /**\r
9  * Get seconds and microseconds\r
10  * @return double\r
11  */\r
12 function smarty_core_get_microtime($params, &$smarty)\r
13 {\r
14     $mtime = microtime();\r
15     $mtime = explode(" ", $mtime);\r
16     $mtime = (double)($mtime[1]) + (double)($mtime[0]);\r
17     return ($mtime);\r
18 }\r
19 \r
20 \r
21 /* vim: set expandtab: */\r
22 \r
23 ?>\r