rReadSream = self::$aStreams[$sHashName]; $bResult = true; } } return $bResult; } /** * @param int $iCount * * @return string */ public function stream_read($iCount) { return fread($this->rReadSream, $iCount); } /** * @param string $sInputString * * @return int */ public function stream_write($sInputString) { return strlen($sInputString); } /** * @return int */ public function stream_tell() { return ftell($this->rReadSream); } /** * @return bool */ public function stream_eof() { return feof($this->rReadSream); } /** * @return array */ public function stream_stat() { return fstat($this->rReadSream); } /** * @return bool */ public function stream_seek() { return false; } }