public static function Helper::http__request__get_response_code in Anti Spam by CleanTalk 9.1.x
Same name and namespace in other branches
- 8.4 src/lib/Cleantalk/Common/Helper.php \Cleantalk\Common\Helper::http__request__get_response_code()
Wrapper for http_request Requesting HTTP response code for $url
Parameters
string $url:
Return value
array|mixed|string
File
- src/
lib/ Cleantalk/ Common/ Helper.php, line 1285
Class
- Helper
- CleanTalk Helper class. Compatible with any CMS.
Namespace
Cleantalk\CommonCode
public static function http__request__get_response_code($url) {
return static::http__request($url, array(), 'get_code');
}