Remove references to PHP versions < 5.2

This commit is contained in:
MarkBaker 2014-09-05 10:17:39 +01:00
parent 66b9ffa8ac
commit 57ce19d20a
1 changed files with 0 additions and 8 deletions

View File

@ -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);
}