Im just double checking on the use of clearstatcache.

I have a function that checks whether a file exists and loads it like so

function foo($bar)
{
    if (file_exists($bar))
    {
         include($bar);
    }
}

According to clearstat cache, its use is for files that change often. 
 In my case the files are static,
so I wanted to be clear, as to whether I should/shouldn't be using 
clearstatcache() in my sudo function??

Thanks


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to