3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $url = "https://uat.billdesk.com/pgidsk/PGIMerchantPayment?hidRequestId=PGIME600"; // Get cURL resource $curl = curl_init(); // Set some options - we are passing in a useragent too here curl_setopt_array($curl, array( CURLOPT_RETURNTRANSFER => 1, CURLOPT_URL => $url, CURLOPT_POST => 1, CURLOPT_POSTFIELDS => array( "msg" => "test" ) )); print_R($curl); $data1 = curl_exec($curl); print("\n\nError: ".curl_error()." / ".curl_errno());
based on PaGKG
Output for 7.0.0 - 7.2.0
Fatal error: Uncaught Error: Call to undefined function curl_init() in /in/XA2GQ:5 Stack trace: #0 {main} thrown in /in/XA2GQ on line 5
Process exited with code 255.
Output for 5.3.18 - 5.6.28
Fatal error: Call to undefined function curl_init() in /in/XA2GQ on line 5
Process exited with code 255.