3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $ch_1 = curl_init('http://kalikiri.ipage.com/quiz/index.php'); $ch_2 = curl_init('http://kalikiri.ipage.com/quiz/index.php'); curl_setopt($ch_1, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch_1, CURLOPT_HEADER, false); curl_setopt($ch_2, CURLOPT_RETURNTRANSFER, true); $data = array( 'submit' => 'text1', 'var2' => 'text2', ); curl_setopt($ch_2, CURLOPT_POST, 1); curl_setopt($ch_2, CURLOPT_POSTFIELDS, $data); curl_setopt($ch_2, CURLOPT_SSL_VERIFYPEER, false); // all of our requests are done, we can now access the results $response_1 = curl_exec($ch_1); $response_2 = curl_exec($ch_2); var_dump($response_1, $response_2);
Output for 7.0.0 - 7.3.0rc4
Fatal error: Uncaught Error: Call to undefined function curl_init() in /in/La0nf:2 Stack trace: #0 {main} thrown in /in/La0nf on line 2
Process exited with code 255.
Output for 5.0.0 - 5.6.28
Fatal error: Call to undefined function curl_init() in /in/La0nf on line 2
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: curl_init() in /in/La0nf on line 2
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: curl_init() in /in/La0nf on line 2
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: curl_init() in /in/La0nf on line 2