public function read($length = 4096)
    {
        $data = false;
        $this->_checkFileOpened();
        if ($length > 0) {
            $data = $this->_read($length);
        }

        return $data;
    }
public function read($length = 4096)
    {
        $data = false;
        $this->_checkFileOpened();
        if ($length > 0) {
            $data = $this->_read($length);
        }

        return $data;
    }
public function read ( $ length = 4096 ) { $ data = false ; $ this -> _checkFileOpened ( ) ; if ( $ length > 0 ) { $ data = $ this -> _read ( $ length ) ; } return $ data ; }
Read data from file

@param int $length
@return string|boolean
Read data from file