Fatal error: Uncaught Error: Undefined constant "CURLOPT_HTTP_VERSION" in /in/ZUIIt:4
Stack trace:
#0 {main}
thrown in /in/ZUIIt on line 4
Process exited with code 255.
Warning: Use of undefined constant CURLOPT_HTTP_VERSION - assumed 'CURLOPT_HTTP_VERSION' (this will throw an Error in a future version of PHP) in /in/ZUIIt on line 4
Warning: Use of undefined constant CURL_HTTP_VERSION_1_1 - assumed 'CURL_HTTP_VERSION_1_1' (this will throw an Error in a future version of PHP) in /in/ZUIIt on line 4
Warning: Use of undefined constant CURLOPT_HTTP_VERSION - assumed 'CURLOPT_HTTP_VERSION' (this will throw an Error in a future version of PHP) in /in/ZUIIt on line 8
Warning: Use of undefined constant CURL_HTTP_VERSION_2_0 - assumed 'CURL_HTTP_VERSION_2_0' (this will throw an Error in a future version of PHP) in /in/ZUIIt on line 8
array(1) {
["CURLOPT_HTTP_VERSION"]=>
string(21) "CURL_HTTP_VERSION_1_1"
}
array(1) {
["CURLOPT_HTTP_VERSION"]=>
string(21) "CURL_HTTP_VERSION_2_0"
}
array(1) {
["CURLOPT_HTTP_VERSION"]=>
string(21) "CURL_HTTP_VERSION_1_1"
}
array(1) {
["CURLOPT_HTTP_VERSION"]=>
string(21) "CURL_HTTP_VERSION_2_0"
}
Output for 7.0.0 - 7.0.33, 7.1.0 - 7.1.33
Notice: Use of undefined constant CURLOPT_HTTP_VERSION - assumed 'CURLOPT_HTTP_VERSION' in /in/ZUIIt on line 4
Notice: Use of undefined constant CURL_HTTP_VERSION_1_1 - assumed 'CURL_HTTP_VERSION_1_1' in /in/ZUIIt on line 4
Notice: Use of undefined constant CURLOPT_HTTP_VERSION - assumed 'CURLOPT_HTTP_VERSION' in /in/ZUIIt on line 8
Notice: Use of undefined constant CURL_HTTP_VERSION_2_0 - assumed 'CURL_HTTP_VERSION_2_0' in /in/ZUIIt on line 8
array(1) {
["CURLOPT_HTTP_VERSION"]=>
string(21) "CURL_HTTP_VERSION_1_1"
}
array(1) {
["CURLOPT_HTTP_VERSION"]=>
string(21) "CURL_HTTP_VERSION_2_0"
}
array(1) {
["CURLOPT_HTTP_VERSION"]=>
string(21) "CURL_HTTP_VERSION_1_1"
}
array(1) {
["CURLOPT_HTTP_VERSION"]=>
string(21) "CURL_HTTP_VERSION_2_0"
}
Notice: Use of undefined constant CURLOPT_HTTP_VERSION - assumed 'CURLOPT_HTTP_VERSION' in /in/ZUIIt on line 4
Notice: Use of undefined constant CURL_HTTP_VERSION_1_1 - assumed 'CURL_HTTP_VERSION_1_1' in /in/ZUIIt on line 5
Notice: Use of undefined constant CURLOPT_HTTP_VERSION - assumed 'CURLOPT_HTTP_VERSION' in /in/ZUIIt on line 8
Notice: Use of undefined constant CURL_HTTP_VERSION_2_0 - assumed 'CURL_HTTP_VERSION_2_0' in /in/ZUIIt on line 9
array(1) {
["CURLOPT_HTTP_VERSION"]=>
string(21) "CURL_HTTP_VERSION_1_1"
}
array(1) {
["CURLOPT_HTTP_VERSION"]=>
string(21) "CURL_HTTP_VERSION_2_0"
}
array(1) {
["CURLOPT_HTTP_VERSION"]=>
string(21) "CURL_HTTP_VERSION_1_1"
}
array(1) {
["CURLOPT_HTTP_VERSION"]=>
string(21) "CURL_HTTP_VERSION_2_0"
}