3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<? $ch = curl_init(); curl_setopt($ch, CURLOPT_URL,"http://sor.bealparslan.com/index.php"); curl_setopt($ch, CURLOPT_POST, 1); function generateRandomString() { return substr(str_shuffle("0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"), 0, 300); } curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); for ( $say=1 ; $say < 100000 ; $say++ ) { curl_setopt($ch, CURLOPT_POSTFIELDS,"soru=".generateRandomString()); curl_exec ($ch); } curl_close ($ch); ?>
Output for 7.0.0 - 7.1.0
Fatal error: Uncaught Error: Call to undefined function curl_init() in /in/sZRTL:2 Stack trace: #0 {main} thrown in /in/sZRTL on line 2
Process exited with code 255.
Output for hhvm-3.10.0 - 3.12.0

Process exited with code 137.
Output for 5.4.34 - 5.6.28
Fatal error: Call to undefined function curl_init() in /in/sZRTL on line 2
Process exited with code 255.
Output for 4.3.0 - 5.4.32
<? $ch = curl_init(); curl_setopt($ch, CURLOPT_URL,"http://sor.bealparslan.com/index.php"); curl_setopt($ch, CURLOPT_POST, 1); function generateRandomString() { return substr(str_shuffle("0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"), 0, 300); } curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); for ( $say=1 ; $say < 100000 ; $say++ ) { curl_setopt($ch, CURLOPT_POSTFIELDS,"soru=".generateRandomString()); curl_exec ($ch); } curl_close ($ch); ?>