> Well, take an app that has 30 includes in a directory 5 levels deep.
> Just the realpath() call is going to do 180 stats every time that script
> is hit.  Not sure how that wouldn't show up on the radar regardless of the
> OS.  You probably don't have anything that has 30 includes, but people out
> there write code like that.

    How about writing a mini preprocessor for such cases which
    does the interpolation step everytime a programmer updates a
    source file?  That would save way more cycles than killing
    some fstat calls.

    - Sascha

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

Reply via email to