clearstatcache()
function clearstatcache(bool $clear_realpath_cache = false, string $filename = ''): void
Clears file status cache.
Parameters:
$clear_realpath_cache(bool), defaultfalse, optional$filename(string), default'', optional
Returns: void
No examples yet — check examples/ and showcases/ for usage patterns.
Internals
For how clearstatcache is implemented in the compiler, see the internals page.