src/AbstractStream.php
public function stat()
    {
        $stat = null;
        if (is_resource($this->resource)) {
            $stat = fstat($this->resource);
        }
        return $stat;
    }
public function stat()
    {
        $stat = null;
        if (is_resource($this->resource)) {
            $stat = fstat($this->resource);
        }
        return $stat;
    }
public function stat ( ) { $ stat = null ; if ( is_resource ( $ this -> resource ) ) { $ stat = fstat ( $ this -> resource ) ; } return $ stat ; }
Retrieve information about a resource.

@return array|null The statistics of the opened resource if any or null
Retrieve information about a resource .