3v4l.org

run code in 300+ PHP versions simultaneously
<?php $u = "test@mail.com"; $p = "******************"; $fields = array("user[email_address]" => $u, "user[password]" => $p); $ch = curl_init(); //Set curl options $options = array( CURLOPT_URL => "https://secure.izettle.com/portal/login", CURLOPT_COOKIEJAR => "cookie.txt", CURLOPT_COOKIEFILE => "cookie.txt", CURLOPT_RETURNTRANSFER => true, CURLOPT_POST => true, CURLOPT_POSTFIELDS => $fields ); curl_setopt_array($ch, $options); curl_exec($ch); curl_setopt($ch, CURLOPT_URL, "https://secure.izettle.com/portal/reports?date=2014-05-21"); $page = curl_exec($ch); echo $page.'<br>'; ?>
Output for git.master, git.master_jit, rfc.property-hooks
Fatal error: Uncaught Error: Call to undefined function curl_init() in /in/u1W8X:6 Stack trace: #0 {main} thrown in /in/u1W8X on line 6
Process exited with code 255.

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:
44.46 ms | 401 KiB | 8 Q