From b255b97e43a50897f8ba7b9fbc8ed0acbf436aea Mon Sep 17 00:00:00 2001 From: danchukas Date: Thu, 22 Jun 2017 17:25:40 +0300 Subject: fix method "eof" replace "eof" with "feof" because: 1) http://php.net/manual/ru/function.feof.php 2) Error: Call to undefined function eof() --- ext/spl/internal/splfileobject.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext') 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 -- cgit v1.2.1