com php-src: fix method "eof": ext/spl/internal/splfileobject.inc

From: Date: Fri, 23 Jun 2017 06:53:00 +0000
Subject: com php-src: fix method "eof": ext/spl/internal/splfileobject.inc
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-98177@lists.php.net to get a copy of this message
Commit: b255b97e43a50897f8ba7b9fbc8ed0acbf436aea Author: danchukas <volk160590@mail.ru> Thu, 22 Jun 2017 17:25:40 +0300 Committer: Joe Watkins <krakjoe@php.net> Fri, 23 Jun 2017 07:53:00 +0100 Parents: b1301a0686c5f573395b752295e569730fbd7de7 Branches: PHP-7.0 PHP-7.1 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=b255b97e43a50897f8ba7b9fbc8ed0acbf436aea Log: fix method "eof" replace "eof" with "feof" because: 1) http://php.net/manual/ru/function.feof.php 2) Error: Call to undefined function eof() Changed paths: M ext/spl/internal/splfileobject.inc Diff: diff --git a/ext/spl/internal/splfileobject.inc b/ext/spl/internal/splfileobject.inc index 46b941f..df941c6 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

« previous php.cvs (#98177) next »