SDP2006
03-22-2004, 11:17 PM
Could someone comment on this code and tell me what it does? [edit] I know what it does, but what exactly it is doing is what I need to know
I am using this code and I really like to understand what is going on in the code I use. Thanks
<?php
$stimer = explode(' ', microtime());
$stimer = $stimer[1] + $stimer[0];
$etimer = explode(' ', microtime());
$etimer = $etimer[1] + $etimer[0];
/* I know what is going on from here down */
echo "<center><font size='2'>";
printf("Page rendered in <b>%f</b> seconds", $etimer-$stimer);
echo '</center></font>';
?>
Thanks to all
I am using this code and I really like to understand what is going on in the code I use. Thanks
<?php
$stimer = explode(' ', microtime());
$stimer = $stimer[1] + $stimer[0];
$etimer = explode(' ', microtime());
$etimer = $etimer[1] + $etimer[0];
/* I know what is going on from here down */
echo "<center><font size='2'>";
printf("Page rendered in <b>%f</b> seconds", $etimer-$stimer);
echo '</center></font>';
?>
Thanks to all