Curl::__destruct()

Destructor

Source

	if (is_resource($this->handle)) {
		// phpcs:ignore PHPCompatibility.FunctionUse.RemovedFunctions.curl_closeDeprecated,Generic.PHP.DeprecatedFunctions.Deprecated
		curl_close($this->handle);
	}
}

User Contributed Notes

You must log in before being able to contribute a note or feedback.