On Fri, 22 Oct 2004, Ilia Alshanetsky wrote: > Derick Rethans wrote: > > For that the granularity is not good enough though. > > Ideally we'd have gettimeofday() cached, but looking @ the code it is > called on by lcg code and then only on MINIT. So we'd need an "extra" > syscall to provide this, I am not sure this is a good idea. > > Ilia > > P.S. I didn't indicate in my earlier e-mail, I'd prefer $_SERVER as well.
Sticking it in $_SERVER is ok, but then you also have to hack up getenv() to recognize it and return it when asked. People interested in using this are likely people looking to avoid doing the extra syscall and these are the same people who are unlikely to populate $_SERVER at all in their configs. -Rasmus -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php