3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $url = "http://coquines-street.fr/modules/plusdemarche/token.php"; $ch = curl_init(); curl_setopt($ch, CURLOPT_VERBOSE, false); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false); curl_setopt($ch, CURLOPT_CUSTOMREQUEST, 'POST'); curl_setopt($ch, CURLOPT_POST, true); $result = curl_exec($ch); $return_code = curl_getinfo($ch, CURLINFO_HTTP_CODE); echo "return_code : ".$return_code;
Output for 7.0.0 - 7.2.0
Fatal error: Uncaught Error: Call to undefined function curl_init() in /in/mRSDW:5 Stack trace: #0 {main} thrown in /in/mRSDW on line 5
Process exited with code 255.
Output for 5.5.0 - 5.6.28
Fatal error: Call to undefined function curl_init() in /in/mRSDW on line 5
Process exited with code 255.