From: danchukas Date: Thu, 22 Jun 2017 14:25:40 +0000 (+0300) Subject: fix method "eof" X-Git-Tag: php-7.0.22RC1~47 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b255b97e43a50897f8ba7b9fbc8ed0acbf436aea;p=php fix method "eof" replace "eof" with "feof" because: 1) http://php.net/manual/ru/function.feof.php 2) Error: Call to undefined function eof() --- diff --git a/ext/spl/internal/splfileobject.inc b/ext/spl/internal/splfileobject.inc index 46b941f696..df941c6307 100644 --- a/ext/spl/internal/splfileobject.inc +++ b/ext/spl/internal/splfileobject.inc @@ -54,7 +54,7 @@ class SplFileObject extends SplFileInfo implements RecursiveIterator, SeekableIt */ function eof() { - return eof($this->fp); + return feof($this->fp); } /** increase current line number