code: public function stream_stat()
      {
          if (!$this->handle) {
              return false;
          }
          self::restorePrev();
          $array = \fstat($this->handle);
          self::register();
          return $array;
      }
docs: Retrieve information about a file resource
  
  @return array
  
  @see http://php.net/manual/en/streamwrapper.stream-stat.php