public function parseFile($file)
    {
        if (!file_exists($file)) {
            return false;
        }
        $fh = fopen($file, 'r');
        if (!$fh) {
            return false;
        }
        $ret = $this->parseHandle($fh);
        fclose($fh);
        return $ret;
    }
public function parseFile($file)
    {
        if (!file_exists($file)) {
            return false;
        }
        $fh = fopen($file, 'r');
        if (!$fh) {
            return false;
        }
        $ret = $this->parseHandle($fh);
        fclose($fh);
        return $ret;
    }
public function parseFile ( $ file ) { if ( ! file_exists ( $ file ) ) { return false ; } $ fh = fopen ( $ file , 'r' ) ; if ( ! $ fh ) { return false ; } $ ret = $ this -> parseHandle ( $ fh ) ; fclose ( $ fh ) ; return $ ret ; }
Parses a file that contains a single string-hash.
@param string $file
@return array
Parses a file that contains a single string - hash .