3v4l.org

run code in 300+ PHP versions simultaneously
<?php $url = "http://10.0.0.222/iptecno/posicio-global?destination=node/6"; $postData = array("name" => "roberto", "pass" => "Razorin00", "op" => "Log in", "form_id" => "user_login_block"); $elements = array(); foreach ($postData as $name=>$value) { $elements[] = "{$name}=".urlencode($value); } $handler = curl_init(); curl_setopt($handler, CURLOPT_URL, $url); curl_setopt($handler, CURLOPT_POST,true); curl_setopt($handler, CURLOPT_POSTFIELDS, $elements); $response = curl_exec ($handler); curl_close($handler); print_r($response);
Output for git.master, git.master_jit, rfc.property-hooks
Fatal error: Uncaught Error: Call to undefined function curl_init() in /in/4nWYX:9 Stack trace: #0 {main} thrown in /in/4nWYX on line 9
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:
58.24 ms | 401 KiB | 8 Q