Kyberia v2.3 - 1st revision from SVN (Without patches of kyberia.sk team)
[mirrors/Kyberia-bloodline.git] / smarty / Smarty-2.6.10 / libs / internals / core.get_microtime.php
CommitLineData
e586807d
H
1<?php
2/**
3 * Smarty plugin
4 * @package Smarty
5 * @subpackage plugins
6 */
7
8/**
9 * Get seconds and microseconds
10 * @return double
11 */
12function 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?>
This page took 0.12419 seconds and 4 git commands to generate.