3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $data_array = Array ('username' => 'Evandro', 'email' => 'teste@o2multi.com.br', 'password' => '123456', 'affiliateCode' => '', 'paymentModeId' => 1); $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
Fatal error: Uncaught Error: Call to undefined function curl_init() in /in/c8gqT:6 Stack trace: #0 {main} thrown in /in/c8gqT on line 6
Process exited with code 255.
Output for 5.0.0 - 5.6.28
Fatal error: Call to undefined function curl_init() in /in/c8gqT on line 6
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: http_build_query() in /in/c8gqT on line 5
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: http_build_query() in /in/c8gqT on line 5
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: http_build_query() in /in/c8gqT on line 5