Re: how to find the time taken to execute php script
sivaji escribió:
Is there any function or variable that return the time taken to
execute a part or full php script .
Apart from microtime(), if your PHP version is great or equal than 5.1.0
you should have a variable called $_SERVER['REQUEST_TIME'] that contains
a Unix timestamp of when the request was received. That allows you to
count time until the first line of the script is actually executed.
Re: how to find the time taken to execute php script
On May 14, 7:16 pm, "Álvaro G. Vicario"
<alvaroNOSPAMTH A...@demogracia .comwrote:
sivaji escribió:
>
Is there any function or variable that return the time taken to
execute a part or full php script .
>
Apart from microtime(), if your PHP version is great or equal than 5.1.0
you should have a variable called $_SERVER['REQUEST_TIME'] that contains
a Unix timestamp of when the request was received. That allows you to
count time until the first line of the script is actually executed.
Comment