PHP » GoLang |
login |
register |
about
|
GoLang streamWrapper::stream_eof
request it (270)
GoLang replacement for PHP's streamWrapper::stream_eof
[edit | history]
streamWrapper::stream_eof(PHP 4 >= 4.3.2, PHP 5, PHP 7) streamWrapper::stream_eof — Tests for end-of-file on a file pointer Description
public bool streamWrapper::stream_eof
( void
)
This method is called in response to feof(). ParametersThis function has no parameters. Return Values
Should return NotesWarning
When reading the whole file (for example, with file_get_contents()), PHP will call streamWrapper::stream_read() followed by streamWrapper::stream_eof() in a loop but as long as streamWrapper::stream_read() returns a non-empty string, the return value of streamWrapper::stream_eof() is ignored. |
more
Recently updated
more
Most requested
more
Last requests
|