[ Index ]
 

Code source de Serendipity 1.2

Accédez au Source d'autres logiciels libres

title

Body

[fermer]

/bundled-libs/Smarty/libs/internals/ -> core.get_microtime.php (source)

   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  ?>


Généré le : Sat Nov 24 09:00:37 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics