On Fri, 22 Oct 2004, dharana wrote:

> Ilia Alshanetsky wrote:
>
> > . Since a lot of script end up having to fetch request start time, this
> > can be used to save on a timing call
> > (This information only has second precision, no microseconds).
>
> I would think the reason for fetching request start time is to profile
> execution time (the first line you would see in my scripts is always
> $time_start = microtime()) or maybe it's just me, of course.

For that the granularity is not good enough though.

> > The question is what would be the best way to provide this information
> > within the script. The two alternatives are: adding a new function to
> > get this info or storing this data inside $_SERVER.

$_SERVER

Derick

-- 
Derick Rethans
http://derickrethans.nl | http://ez.no | http://xdebug.org

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to