Diff for phpPlatonLib/Platon/Platon.php between version 1.29 and 1.30
| version 1.29, 2004/12/31 16:03:27 |
version 1.30, 2005/02/01 16:51:11 |
|
|
| * @access public |
* @access public |
| */ |
*/ |
| |
|
| /* $Platon: phpPlatonLib/Platon/Platon.php,v 1.28 2004/12/27 21:17:22 nepto Exp $ */ |
/* $Platon: phpPlatonLib/Platon/Platon.php,v 1.29 2004/12/31 16:03:27 nepto Exp $ */ |
| |
|
| class Platon |
class Platon |
| { |
{ |
|
|
| /** |
/** |
| * Returns current microtime. |
* Returns current microtime. |
| * |
* |
| |
* @param string $mtime microtime (optional) |
| * @return int current microtime |
* @return int current microtime |
| */ |
*/ |
| function get_mtime() /* {{{ */ |
function get_mtime($mtime = null) /* {{{ */ |
| { |
{ |
| $mtime = microtime(); |
if ($mtime === null) { |
| |
$mtime = microtime(); |
| |
} |
| $mtime = explode(' ', $mtime); |
$mtime = explode(' ', $mtime); |
| $mtime = $mtime[1] + $mtime[0]; |
$mtime = $mtime[1] + $mtime[0]; |
| return $mtime; |
return $mtime; |
Platon Group <platon@platon.org> http://platon.org/
|
|