Author Topic: code vs php  (Read 1873 times)

Offline Head

  • Ski Pelicar
  • Admin/Game Designer
  • Sr. Member
  • Posts: 1458
  • 2 + 0 + 1 + 7 = 10
    • Mark Headrick
  • Primary Character: Buck
code vs php
« on: Mar 07, 2008, 10:42:53 PM »
code:
Code: [Select]
function getmicrotime()
{
list($usec, $sec) = explode(" ", microtime());
   return ((float)$usec + (float)$sec);
}

code with php coloring:
Code: [Select]
<?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); 

« Last Edit: Mar 07, 2008, 10:56:05 PM by Head »
"Drawing on my fine command of the English language, I said nothing." - Robert Benchley
Twitter: @mrheadrick