public stream_eof ( ) : boolean | ||
리턴 | boolean | `true` if the read/write position is at the end of the stream and if no more data is available to be read, or `false` otherwise. |
public function stream_eof()
{
if ($this->download !== null) {
return $this->pointerOffset >= $this->download->getSize();
}
return true;
}