In comp.lang.php Zbigniew Lisiecki <zbyszek@evot.org> wrote:
> information one receives from is_dir() is out of date.
A simple RTFM, will provide the answer, http://php.net/is_dir :
"Note: The results of this function are cached. See clearstatcache() for
more details."