Skip to content

Commit b255b97

Browse files
danchukaskrakjoe
authored andcommitted
fix method "eof"
replace "eof" with "feof" because: 1) http://php.net/manual/ru/function.feof.php 2) Error: Call to undefined function eof()
1 parent b1301a0 commit b255b97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/spl/internal/splfileobject.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ class SplFileObject extends SplFileInfo implements RecursiveIterator, SeekableIt
5454
*/
5555
function eof()
5656
{
57-
return eof($this->fp);
57+
return feof($this->fp);
5858
}
5959

6060
/** increase current line number

0 commit comments

Comments
 (0)