3v4l.org

run code in 300+ PHP versions simultaneously
<?php $no="919738010001"; $apiToken="d8PATnRR7d"; // PHPHive Truecaller API Token, Obtain it from https://tcapi.phphive.info/console/ $uri = 'https://tcapi.phphive.info/'.$apiToken.'/search/'.$no; $ch = curl_init($uri); curl_setopt_array($ch, array( CURLOPT_HTTPHEADER => array('X-User: PHPHive'), CURLOPT_RETURNTRANSFER =>true, CURLOPT_SSL_VERIFYHOST => false, CURLOPT_SSL_VERIFYPEER => false, CURLOPT_VERBOSE => 1 )); $response = curl_exec($ch); curl_close($ch); echo $response;
Output for git.master, git.master_jit, rfc.property-hooks
Fatal error: Uncaught Error: Call to undefined function curl_init() in /in/tf7bc:7 Stack trace: #0 {main} thrown in /in/tf7bc on line 7
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.63 ms | 401 KiB | 8 Q