From 57ce19d20a09a9066c66b250704a5b019aebb3e0 Mon Sep 17 00:00:00 2001 From: MarkBaker Date: Fri, 5 Sep 2014 10:17:39 +0100 Subject: [PATCH] Remove references to PHP versions < 5.2 --- Classes/PHPExcel/Shared/OLE/ChainedBlockStream.php | 8 -------- 1 file changed, 8 deletions(-) diff --git a/Classes/PHPExcel/Shared/OLE/ChainedBlockStream.php b/Classes/PHPExcel/Shared/OLE/ChainedBlockStream.php index 5145206..0736fc2 100644 --- a/Classes/PHPExcel/Shared/OLE/ChainedBlockStream.php +++ b/Classes/PHPExcel/Shared/OLE/ChainedBlockStream.php @@ -161,14 +161,6 @@ class PHPExcel_Shared_OLE_ChainedBlockStream */ public function stream_eof() { -// As we don't support below 5.2 anymore, this is simply redundancy and overhead -// $eof = $this->pos >= strlen($this->data); -// // Workaround for bug in PHP 5.0.x: http://bugs.php.net/27508 -// if (version_compare(PHP_VERSION, '5.0', '>=') && -// version_compare(PHP_VERSION, '5.1', '<')) { -// $eof = !$eof; -// } -// return $eof; return $this->pos >= strlen($this->data); }