curl_setopt_array

PHP 5 >= 5.1.3, PHP 7, PHP 8
curl_setopt_array - Set multiple options for a cURL transfer
Manual
Code Examples

Example #1 Initializing a new cURL session and fetching a web page

PHP Version: