(PHP 4, PHP 5, PHP 7)
Clears file status cache
void clearstatcache ([ bool $clear_realpath_cache = false [, string $filename ]] )
When you use stat(), lstat(), or any of the other functions listed in the affected functions list (below), PHP caches the information those functions return in order to provide faster performance. However, in certain cases, you may want to clear the cached information. For instance, if the same