3v4l.org

run code in 300+ PHP versions simultaneously
<?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 => $data['msg'] ) )); print_R($curl); $data1 = curl_exec($curl); print("\n\nError: ".curl_error()." / ".curl_errno());

preferences:
61.63 ms | 402 KiB | 5 Q