public function isFileEmpty()
    {
        $this->openFile();
        $saved_pointer = $this->getFilePointer();
        $this->rewindFile()->seekFileToEnd();
        $size_pointer = $this->getFilePointer();
        $this->seekFile($saved_pointer);

        return $size_pointer === 0;
    }
public function isFileEmpty()
    {
        $this->openFile();
        $saved_pointer = $this->getFilePointer();
        $this->rewindFile()->seekFileToEnd();
        $size_pointer = $this->getFilePointer();
        $this->seekFile($saved_pointer);

        return $size_pointer === 0;
    }
public function isFileEmpty ( ) { $ this -> openFile ( ) ; $ saved_pointer = $ this -> getFilePointer ( ) ; $ this -> rewindFile ( ) -> seekFileToEnd ( ) ; $ size_pointer = $ this -> getFilePointer ( ) ; $ this -> seekFile ( $ saved_pointer ) ; return $ size_pointer === 0 ; }
Find whether file is empty
@return bool
@throws AtomicFileException
Find whether file is empty