diff options
author | danchukas <volk160590@mail.ru> | 2017-06-22 17:25:40 +0300 |
---|---|---|
committer | Joe Watkins <krakjoe@php.net> | 2017-06-23 07:53:00 +0100 |
commit | b255b97e43a50897f8ba7b9fbc8ed0acbf436aea (patch) | |
tree | 282e29d1c0517d6b17f7073478eb5d928b31ffd8 | |
parent | b1301a0686c5f573395b752295e569730fbd7de7 (diff) | |
download | php-git-b255b97e43a50897f8ba7b9fbc8ed0acbf436aea.tar.gz |
fix method "eof"
replace "eof" with "feof"
because:
1) http://php.net/manual/ru/function.feof.php
2) Error: Call to undefined function eof()
-rw-r--r-- | ext/spl/internal/splfileobject.inc | 2 |
1 files changed, 1 insertions, 1 deletions
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 |