• Welcome, Guest. Please login.
 
Nov 18, 2019, 02:58:08 am

News:

March 31, 2019 - Forum patched to version 2.1 RC2 | RSS2.0 Feed

Pelicar Game Website


code vs php

Started by Head, Mar 07, 2008, 10:42:53 pm

Previous topic - Next topic

Head

Mar 07, 2008, 10:42:53 pm Last Edit: Mar 07, 2008, 10:56:05 pm by Head
code:

function getmicrotime()
{
list($usec, $sec) = explode(" ", microtime());
   return ((float)$usec + (float)$sec);
}


code with php coloring:

<?php
function getmicrotime() 

list($usec$sec) = explode(" "microtime()); 
   return ((float)
$usec + (float)$sec); 

?>




php:

function getmicrotime() 

	
list(
$usec$sec) = explode(" "microtime()); 
   return ((float)
$usec + (float)$sec); 

"Drawing on my fine command of the English language, I said nothing." - Robert Benchley
Twitter: @mrheadrick