I believe those are from the realpath call.  It splits the path and stats each 
part to make sure it is real:

1) /
2) /home
3) /home/rei
4) /home/rei/PHP_CVS
5) /home/rei/PHP_CVS/STABLE
6) /home/rei/PHP_CVS/STABLE/php4

Brian

On Wed, 4 Jun 2003 13:27:14 -0400, Ilia A. wrote:
> Now, the interesting part, which I've yet to track down, are 6 lstat64() 
> calls 
> that occur between getcwd() (look above) and the actual open() for every 
> file 
> opened by PHP regardless of whether it had a full path or not.
> Here is strace bit:
> 
> getcwd("/home/rei/PHP_CVS/STABLE/php4", 4096) = 30 <0.000011>
> lstat64(0xbfffad30, 0xbfffac90)         = 0 <0.000015>
> lstat64(0xbfffad30, 0xbfffac90)         = 0 <0.000008>
> lstat64(0xbfffad30, 0xbfffac90)         = 0 <0.000008>
> lstat64(0xbfffad30, 0xbfffac90)         = 0 <0.000008>
> lstat64(0xbfffad30, 0xbfffac90)         = 0 <0.000008>
> lstat64(0xbfffad30, 0xbfffac90)         = 0 <0.000009>

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

Reply via email to