public function close() { if ($this->closeAfter) { $this->closeAfter = false; \fclose($this->fp); \clearstatcache(); } }