3v4l.org

run code in 300+ PHP versions simultaneously
<? $url = 'http://auctionlook-dev.azurewebsites.net/api/auctions/KY'; // Initialize the cURL session with the request URL $session = curl_init($url); // Tell cURL to return the request data curl_setopt($session, CURLOPT_RETURNTRANSFER, true); // Set the HTTP request authentication headers $headers = array( 'DecibelAppID: ' . $applicationID, 'DecibelAppKey: ' . $applicationKey, 'DecibelTimestamp: ' . date('Ymd H:i:s', time()) ); curl_setopt($session, CURLOPT_HTTPHEADER, $headers); // Execute cURL on the session handle $response = curl_exec($session); echo $response; $convertedresponse = json_decode($response, true); echo "---------------------------------------------------------------"; print_r($convertedresponse); echo '<pre>'; print_r($convertedresponse); echo '</pre>'; // Close the cURL session curl_close($session);
Output for git.master, git.master_jit, rfc.property-hooks
<? $url = 'http://auctionlook-dev.azurewebsites.net/api/auctions/KY'; // Initialize the cURL session with the request URL $session = curl_init($url); // Tell cURL to return the request data curl_setopt($session, CURLOPT_RETURNTRANSFER, true); // Set the HTTP request authentication headers $headers = array( 'DecibelAppID: ' . $applicationID, 'DecibelAppKey: ' . $applicationKey, 'DecibelTimestamp: ' . date('Ymd H:i:s', time()) ); curl_setopt($session, CURLOPT_HTTPHEADER, $headers); // Execute cURL on the session handle $response = curl_exec($session); echo $response; $convertedresponse = json_decode($response, true); echo "---------------------------------------------------------------"; print_r($convertedresponse); echo '<pre>'; print_r($convertedresponse); echo '</pre>'; // Close the cURL session curl_close($session);

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
42.88 ms | 402 KiB | 8 Q