src/Zip.php
public function open($file)
    {
        $this->file = $file;
        $this->fh   = @fopen($this->file, 'rb');
        if (!$this->fh) {
            throw new ArchiveIOException('Could not open file for reading: '.$this->file);
        }
        $this->closed = false;
    }
public function open($file)
    {
        $this->file = $file;
        $this->fh   = @fopen($this->file, 'rb');
        if (!$this->fh) {
            throw new ArchiveIOException('Could not open file for reading: '.$this->file);
        }
        $this->closed = false;
    }
public function open ( $ file ) { $ this -> file = $ file ; $ this -> fh = @ fopen ( $ this -> file , 'rb' ) ; if ( ! $ this -> fh ) { throw new ArchiveIOException ( 'Could not open file for reading: ' . $ this -> file ) ; } $ this -> closed = false ; }
Open an existing ZIP file for reading

@param string $file
@throws ArchiveIOException
Open an existing ZIP file for reading