3v4l.org

run code in 300+ PHP versions simultaneously
<?php $MensScores = Array("Day 1 Standing","Team", "All Around", "Floor","Pommel","Rings","Vault","Parallel Bars","High Bar"); $MensLevels = Array("Level 7 Under","Level 7 Open","Level 8 Under","Level 8 Open","Level 9 Under","Level 9 Open","Level 10 Under","Senior International"); echo "<Table cellpadding=2>"; echo "<td style='text-align: center;' colspan='10'><strong>Men's Artistic Gymnastics</strong></td>'; echo "</TR>"; foreach ($MensLevels as $Level){ echo "<TR bgcolor=#c0c0c0><TD style='width: 10%;' valign='top'> $Level</TD>\n"; foreach ($MensScores as $ScoreType){ $DIVName="MAG_".str_replace(" ","_",$Level)."_".str_replace(" ","_",$ScoreType); echo "<TD style='width: 9%;' valign='top'> <DIV ID=$DIVName>$ScoreType</DIV></TD>"; }; echo "</TR>\n"; }; echo "</Table>"; ?>

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)
5.6.80.0070.03720.28
5.5.240.0300.07320.26
5.4.400.0330.05019.10
5.4.390.0270.07719.23
5.4.380.0230.04318.96
5.4.370.0300.06719.06
5.4.360.0300.03718.95
5.4.350.0270.05719.24
5.4.340.0230.07719.22
5.4.320.0300.04719.09
5.4.310.0230.03319.22
5.4.300.0300.07019.21
5.4.290.0270.04319.09
5.4.280.0270.03318.98
5.4.270.0230.07019.22
5.4.260.0270.04319.08
5.4.250.0330.06718.86
5.4.240.0330.06319.30
5.4.230.0330.06718.97
5.4.220.0270.06019.23
5.4.210.0270.05019.05
5.4.200.0200.03719.09
5.4.190.0200.05018.84
5.4.180.0130.05018.97
5.4.170.0200.05018.86
5.4.160.0230.08019.14
5.4.150.0170.05019.22
5.4.140.0170.03716.50
5.4.130.0170.04716.51
5.4.120.0130.04716.50
5.4.110.0170.03716.50
5.4.100.0300.06316.29
5.4.90.0130.04016.19
5.4.80.0230.06716.27
5.4.70.0230.04316.15
5.4.60.0230.07016.52
5.4.50.0300.06316.53
5.4.40.0200.04316.49
5.4.30.0200.04716.25
5.4.20.0330.05716.34
5.4.10.0330.04016.16
5.4.00.0270.04315.84
5.3.290.0230.07714.53
5.3.280.0300.05714.43
5.3.270.0330.03014.46
5.3.260.0270.04714.46
5.3.250.0230.06714.45
5.3.240.0170.04014.44
5.3.230.0200.07314.58
5.3.220.0170.04014.43
5.3.210.0230.06014.44
5.3.200.0230.07014.59
5.3.190.0130.05014.43
5.3.180.0170.03714.40
5.3.170.0200.03314.52
5.3.160.0230.07314.54
5.3.150.0200.07714.61
5.3.140.0330.05014.46
5.3.130.0200.04014.64
5.3.120.0230.05314.53
5.3.110.0100.05714.45
5.3.100.0200.04013.91
5.3.90.0270.07014.00
5.3.80.0330.05713.87
5.3.70.0170.04014.00
5.3.60.0130.04313.91
5.3.50.0270.03013.74
5.3.40.0300.03013.97
5.3.30.0200.04313.84
5.3.20.0200.04713.64
5.3.10.0270.06013.75
5.3.00.0330.05713.67
5.2.170.0230.05712.49
5.2.160.0170.06312.49
5.2.150.0170.04012.49
5.2.140.0370.04312.49
5.2.130.0230.02712.49
5.2.120.0130.03312.49
5.2.110.0230.05712.49
5.2.100.0400.03012.49
5.2.90.0200.05712.49
5.2.80.0170.04712.49
5.2.70.0200.06012.49
5.2.60.0230.05712.49
5.2.50.0170.05012.49
5.2.40.0170.03012.49
5.2.30.0170.06012.49
5.2.20.0300.05312.49
5.2.10.0130.04712.49
5.2.00.0130.03012.49
5.1.60.0170.04712.49
5.1.50.0170.05012.49
5.1.40.0170.05012.49
5.1.30.0100.05312.49
5.1.20.0230.05012.49
5.1.10.0130.05012.49
5.1.00.0170.04312.49
5.0.50.0100.03012.49
5.0.40.0130.02312.49
5.0.30.0100.06012.49
5.0.20.0100.03712.49
5.0.10.0070.02312.49
5.0.00.0130.03012.49
4.4.90.0130.03012.49
4.4.80.0100.01712.49
4.4.70.0100.03712.49
4.4.60.0170.02712.49
4.4.50.0070.03712.49
4.4.40.0070.05012.49
4.4.30.0100.02312.49
4.4.20.0130.03012.49
4.4.10.0100.03312.49
4.4.00.0100.03012.49
4.3.110.0170.03012.49
4.3.100.0070.03012.49
4.3.90.0100.01712.49
4.3.80.0030.02712.49
4.3.70.0100.03312.49
4.3.60.0100.01312.49
4.3.50.0130.03012.49
4.3.40.0130.04312.49
4.3.30.0070.03012.49
4.3.20.0030.04012.49
4.3.10.0070.03712.49
4.3.00.0030.01712.49

preferences:
163.93 ms | 1398 KiB | 7 Q