Re: string size in bytes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



benifactor wrote:
also i need to know how to find out how fast a page renders

example;

page rendered in 1.114 seconds


<?php
$start_time = microtime(true);

// ... code goes here ... //

$end_time = microtime(true);
$duration = $end_time - $start_time;
echo "page rendered in $duration seconds";
?>

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux