3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $api_url = "https://app.compufacil.com.br/rpc/v1/application.signup-client.json"; $data_query = http_build_query($data_array); $ch = curl_init($api_url); curl_setopt($ch, CURLOPT_USERPWD, "beta:be1a11"); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS, $data_query); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); curl_setopt($ch, CURLOPT_IPRESOLVE, CURL_IPRESOLVE_V4 ); curl_exec($ch); curl_close($ch);
Output for 7.0.0 - 7.2.0
Notice: Undefined variable: data_array in /in/hMULs on line 4 Warning: http_build_query(): Parameter 1 expected to be Array or Object. Incorrect value given in /in/hMULs on line 4 Fatal error: Uncaught Error: Call to undefined function curl_init() in /in/hMULs:5 Stack trace: #0 {main} thrown in /in/hMULs on line 5
Process exited with code 255.
Output for 5.2.5 - 5.6.28
Notice: Undefined variable: data_array in /in/hMULs on line 4 Warning: http_build_query(): Parameter 1 expected to be Array or Object. Incorrect value given in /in/hMULs on line 4 Fatal error: Call to undefined function curl_init() in /in/hMULs on line 5
Process exited with code 255.
Output for 5.0.4 - 5.2.4
Notice: Undefined variable: data_array in /in/hMULs on line 4 Warning: http_build_query(): Parameter 1 expected to be Array or Object. Incorrect value given. in /in/hMULs on line 4 Fatal error: Call to undefined function curl_init() in /in/hMULs on line 5
Process exited with code 255.
Output for 5.0.0 - 5.0.3
Notice: Undefined variable: data_array in /in/hMULs on line 4 Warning: http_build_query(): Parameter 1 expected to be Array or Object. Incorrect value given. in /in/hMULs on line 4 Fatal error: Call to undefined function curl_init() in /in/hMULs on line 5
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: http_build_query() in /in/hMULs on line 4
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: http_build_query() in /in/hMULs on line 4
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: http_build_query() in /in/hMULs on line 4