3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $config['CURLOPT_URL'] = "https://weburl/index.action"; $config['CURLOPT_VERBOSE'] = 0; $config['CURLOPT_SSLVERSION'] = 3; $config['CURLOPT_SSL_VERIFYPEER'] = FALSE; $config['CURLOPT_SSL_VERIFYHOST'] = 2; $config['CURLOPT_FOLLOWLOCATION'] = 0; $tuCurl = curl_init(); foreach($this->config as $key => $val) { curl_setopt($tuCurl, $key, $val); }
Output for 7.0.0 - 7.2.0
Fatal error: Uncaught Error: Call to undefined function curl_init() in /in/lIgCJ:10 Stack trace: #0 {main} thrown in /in/lIgCJ on line 10
Process exited with code 255.
Output for 5.3.18 - 5.6.21
Fatal error: Call to undefined function curl_init() in /in/lIgCJ on line 10
Process exited with code 255.