Skip to content
This repository has been archived by the owner on Jan 2, 2019. It is now read-only.

Commit

Permalink
Remove references to PHP versions < 5.2
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkBaker committed Sep 5, 2014
1 parent 66b9ffa commit 57ce19d
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions Classes/PHPExcel/Shared/OLE/ChainedBlockStream.php
Original file line number Diff line number Diff line change
Expand Up @@ -161,14 +161,6 @@ public function stream_read($count)
*/
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);
}

Expand Down

0 comments on commit 57ce19d

Please sign in to comment.