curl_setopt_array
curl_setopt_array
(PHP 5 >= 5.1.3, PHP 7)
curl_setopt_array — Set multiple options for a cURL transfer
Description
bool curl_setopt_array ( resource $ch , array $options )
Sets multiple options for a cURL session. This function is useful for setting a large amount of cURL options without repetitively calling curl_setopt().
Parameters
-
ch