• Welcome, Guest. Please login.
 
Nov 28, 2022, 08:05:27 PM

News:

Sept 15, 2020 - Forum patched to version 2.1 RC3 (GitHub Nightly) | 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