PHP microtime()

VX-W

New Member
Here is my code:\[code\]<? $time = microtime(); $len = strlen($time); echo $time; echo"<br>".$len."<br>"; $micro; $i = 0; while ($time{$i} != " ") { $micro{i}=$time{i}; echo $micro{i}; $i=$i+1; }?>\[/code\]The output I'm getting is 0000000000 (that is $micro). Here I'm trying to get the microseconds part of the output.Is there anything wrong?
 
Back
Top