3v4l.org

run code in 300+ PHP versions simultaneously
<?php $url= "https://api.instagram.com/v1/users/2298693825?access_token=2298693825.1677ed0.b27784d7f3494084b156332c1775464e"; function curl_get_contents($url) { $curl = curl_init($url); curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1); curl_setopt($curl, CURLOPT_FOLLOWLOCATION, 1); curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, 0); curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, 0); $data = curl_exec($curl); curl_close($curl); return $data; } $datafile=curl_get_contents($url); var_dump($datafile) ?>
Output for git.master, git.master_jit, rfc.property-hooks
Fatal error: Uncaught Error: Call to undefined function curl_init() in /in/BOvDA:5 Stack trace: #0 /in/BOvDA(14): curl_get_contents('https://api.ins...') #1 {main} thrown in /in/BOvDA on line 5
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:
60.4 ms | 401 KiB | 8 Q