• Welcome to Pelicar Fantasy RPG Forum.
 

News:

Jul 6, 2023 - Forum patched to version 2.1.4 | RSS2.0 Feed

Pelicar Game Website

Main Menu

code vs php

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

Previous topic - Next topic

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