3v4l.org

run code in 300+ PHP versions simultaneously
<?php $curl_multi_handle = curl_multi_init(); $curl_handle1 = curl_init('iamdoooooooown.com'); curl_setopt($curl_handle1, CURLOPT_RETURNTRANSFER, true); curl_multi_add_handle($curl_multi_handle, $curl_handle1); $still_running = 1; while($still_running > 0) $multi_errors = curl_multi_exec($curl_multi_handle, $still_running); if($multi_errors != CURLM_OK) die("curl error [$multi_errors]: ".curl_error($curl_multi_handle)); if(strlen(curl_error($curl_handle1))) die("curl error: [".curl_error($curl_handle1)."]<br>"); $curl_info = curl_getinfo($curl_handle1); //info for individual requests $is_up = ($curl_info['http_code'] == 0) ? 0 : 1; $content = curl_multi_getcontent($curl_handle1); curl_multi_remove_handle($curl_multi_handle, $curl_handle1); curl_close($curl_handle1); curl_multi_close($curl_multi_handle);
Output for git.master, git.master_jit, rfc.property-hooks
Fatal error: Uncaught Error: Call to undefined function curl_multi_init() in /in/HHhmh:2 Stack trace: #0 {main} thrown in /in/HHhmh on line 2
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:
35.43 ms | 401 KiB | 8 Q