3v4l.org

run code in 300+ PHP versions simultaneously
<?php <html> <head> <title>Online PHP Script Execution</title> </head> <body> <? $a = 2666; $b = 0; $c = 0; $i = 0; for ($i=1; $i <= 20; $i++) { $b = $a * $i; if ($i == 11) {$c = $i;} } $b = round($b/10000, 2) * 10; $i = 0; while ($i < $b) { $i++; $c = $c + floor($a/10) - 40; if ($i == 12) {E = $c;} if ($i == 37) {N = $c;} } ?> </body> </html>

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.0100.09320.11
7.0.00.0130.08020.25
5.6.160.0070.05320.71
5.6.150.0170.03318.17
5.6.140.0030.05318.18
5.6.130.0130.06718.23
5.6.120.0070.06721.00
5.6.110.0130.08021.00
5.6.100.0130.07321.04
5.6.90.0130.07720.98
5.6.80.0030.04020.34
5.5.300.0030.04317.98
5.5.290.0030.08717.91
5.5.280.0000.05720.77
5.5.270.0070.08320.89
5.5.260.0070.08320.86
5.5.250.0030.07720.46
5.5.240.0270.06720.34

preferences:
141.98 ms | 1394 KiB | 7 Q