003+ Fatal error: Uncaught TypeError: Argument 3 passed to curl_setopt() must be of type array, integer given in %s/curl_setopt_basic003.php:12
004+ Stack trace:
005+ #0 %s/curl_setopt_basic003.php(12): curl_setopt(Resource id #7, 10023, 1)
003- Warning: curl_setopt(): You must pass either an object or an array with the CURLOPT_HTTPHEADER argument in %s on line %d
004- bool(false)
005- bool(true)
006+ #1 {main}
007+ thrown in %s/curl_setopt_basic003.php on line 12