summaryrefslogtreecommitdiff
path: root/ext/spl
diff options
context:
space:
mode:
authordanchukas <volk160590@mail.ru>2017-06-22 17:25:40 +0300
committerJoe Watkins <krakjoe@php.net>2017-06-23 07:53:00 +0100
commitb255b97e43a50897f8ba7b9fbc8ed0acbf436aea (patch)
tree282e29d1c0517d6b17f7073478eb5d928b31ffd8 /ext/spl
parentb1301a0686c5f573395b752295e569730fbd7de7 (diff)
downloadphp-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()
Diffstat (limited to 'ext/spl')
-rw-r--r--ext/spl/internal/splfileobject.inc2
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