src/Debug/FileStreamWrapper.php
public function url_stat($path, $flags)
    {
        self::restorePrev();
        if (!\file_exists($path)) {
            $info = false;
        } elseif ($flags & STREAM_URL_STAT_LINK) {
            $info = $flags & STREAM_URL_STAT_QUIET
                ? @\lstat($path)
                : \lstat($path);
        } else {
            $info = $flags & STREAM_URL_STAT_QUIET
                ? @\stat($path)
                : \stat($path);
        }
        self::register();
        return $info;
    }
public function url_stat($path, $flags)
    {
        self::restorePrev();
        if (!\file_exists($path)) {
            $info = false;
        } elseif ($flags & STREAM_URL_STAT_LINK) {
            $info = $flags & STREAM_URL_STAT_QUIET
                ? @\lstat($path)
                : \lstat($path);
        } else {
            $info = $flags & STREAM_URL_STAT_QUIET
                ? @\stat($path)
                : \stat($path);
        }
        self::register();
        return $info;
    }
public function url_stat ( $ path , $ flags ) { self :: restorePrev ( ) ; if ( ! \ file_exists ( $ path ) ) { $ info = false ; } elseif ( $ flags & STREAM_URL_STAT_LINK ) { $ info = $ flags & STREAM_URL_STAT_QUIET ? @ \ lstat ( $ path ) : \ lstat ( $ path ) ; } else { $ info = $ flags & STREAM_URL_STAT_QUIET ? @ \ stat ( $ path ) : \ stat ( $ path ) ; } self :: register ( ) ; return $ info ; }
Retrieve information about a file

@param string  $path  The file path or URL to stat
@param integer $flags Holds additional flags set by the streams API.

@return array

@see http://php.net/manual/en/streamwrapper.url-stat.php
Retrieve information about a file