Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
                                                    Clears file status cache
                                                                <?php clearstatcache(bool $clear_realpath_cache = false, string $filename = ""): void<?php         if ($handle) {
            try {
                if (flock($handle, LOCK_SH)) {
                    clearstatcache(true, $path);
                    $contents = fread($handle, $this->size($path) ?: 1);<?php     public function replace($path, $content, $mode = null)
    {
        clearstatcache(true, $path);
        $path = realpath($path) ?: $path;<?php         foreach ($paths as $path) {
            try {
                if (@unlink($path)) {
                    clearstatcache(false, $path);
                } else {
                    $success = false;
                }<?php     public function assertExists($path, $content = null)
    {
        clearstatcache();
        $paths = Arr::wrap($path);<?php     public function assertMissing($path)
    {
        clearstatcache();
        $paths = Arr::wrap($path);<?php     public function read($length = null)
    {
        clearstatcache(true, $this->path);
        return fread($this->handle, $length ?? ($this->size() ?: 1));
    }<?php         while ($process->isRunning()) {
            if ($hasEnvironment) {
                clearstatcache(false, $environmentFile);
            }
            if (! $this->option('no-reload') &&<?php         Process::fromShellCommandline("rm {$this->stubFile}")->run();
        clearstatcache(true, $this->stubFile);
        $this->assertFalse(File::exists($this->stubFile));
    }<?php         Process::fromShellCommandline("rm {$this->stubFile}")->run();
        clearstatcache(true, $this->stubFile);
        $this->assertFalse(File::isFile($this->stubFile));
    }<?php         Process::fromShellCommandline("rm {$this->stubFile}")->run();
        clearstatcache(true, $this->stubFile);
        Storage::disk('public')->assertMissing('StardewTaylor.png');
        $this->assertFalse(Storage::disk('public')->exists('StardewTaylor.png'));
    }