3v4l.org

run code in 300+ PHP versions simultaneously
<?php $overView = aray('a','b','v'); for($i=0; $i<count($overView); $i++){ //I want to iterate through the Overview file/array, print the contents apropriately if ($i % 2 == 0){?> <dt><span class = "bold"> <?php print ($overView[i]); ?></span></dt> <?php } else { ?> <dd><?php print ($overView[i]); ?> </dd> <?php }} ?>

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)
8.3.70.0140.00718.31
8.3.60.0110.00418.43
8.3.50.0140.00521.20
8.3.40.0110.00318.75
8.3.30.0100.01018.88
8.3.20.0040.00420.38
8.3.10.0000.00822.05
8.3.00.0040.00422.44
8.2.180.0040.01116.50
8.2.170.0040.01122.96
8.2.160.0130.00020.53
8.2.150.0080.00024.18
8.2.140.0130.00724.66
8.2.130.0180.00026.16
8.2.120.0080.00021.06
8.2.110.0030.00719.31
8.2.100.0030.00917.78
8.2.90.0050.00319.08
8.2.80.0050.00317.97
8.2.70.0000.00917.63
8.2.60.0060.00318.04
8.2.50.0080.00018.07
8.2.40.0050.00317.80
8.2.30.0020.00717.87
8.2.20.0040.00417.53
8.2.10.0000.00817.54
8.2.00.0060.00517.63
8.1.280.0130.00725.92
8.1.270.0060.00318.46
8.1.260.0040.00426.35
8.1.250.0100.00328.09
8.1.240.0060.00322.06
8.1.230.0110.00019.00
8.1.220.0080.00017.74
8.1.210.0000.00818.77
8.1.200.0060.00617.35
8.1.190.0000.00817.23
8.1.180.0000.01020.43
8.1.170.0060.00318.61
8.1.160.0000.00722.11
8.1.150.0050.00218.39
8.1.140.0000.00717.23
8.1.130.0030.00317.68
8.1.120.0070.00017.39
8.1.110.0050.00317.34
8.1.100.0070.00017.23
8.1.90.0080.00017.34
8.1.80.0030.00517.29
8.1.70.0000.00717.24
8.1.60.0080.00017.43
8.1.50.0040.00417.43
8.1.40.0050.00317.43
8.1.30.0000.00717.45
8.1.20.0040.00417.59
8.1.10.0060.00317.41
8.1.00.0000.00817.42
8.0.300.0040.00420.09
8.0.290.0000.00716.63
8.0.280.0000.00718.37
8.0.270.0070.00017.07
8.0.260.0000.00616.72
8.0.250.0000.00717.00
8.0.240.0050.00316.99
8.0.230.0000.00816.92
8.0.220.0000.00716.84
8.0.210.0000.00716.78
8.0.200.0030.00316.96
8.0.190.0040.00416.98
8.0.180.0040.00416.80
8.0.170.0000.00716.87
8.0.160.0000.00816.86
8.0.150.0000.00716.76
8.0.140.0000.00816.70
8.0.130.0000.00513.35
8.0.120.0050.00316.86
8.0.110.0000.00816.91
8.0.100.0040.00416.91
8.0.90.0040.00416.84
8.0.80.0140.00416.95
8.0.70.0040.00416.78
8.0.60.0040.00416.94
8.0.50.0050.00216.79
8.0.30.0080.01016.97
8.0.20.0070.01117.40
8.0.10.0000.00716.83
8.0.00.0080.00916.63
7.4.330.0000.00415.00
7.4.320.0070.00016.51
7.4.300.0030.00316.34
7.4.290.0000.00716.52
7.4.280.0060.00316.57
7.4.270.0000.00716.39
7.4.260.0030.00316.54
7.4.250.0040.00416.41
7.4.240.0040.00416.43
7.4.230.0070.00016.25
7.4.220.0110.00416.36
7.4.210.0080.00616.61
7.4.200.0000.00716.43
7.4.190.0040.00416.64
7.4.160.0060.01016.39
7.4.150.0100.00617.40
7.4.140.0120.00717.86
7.4.130.0140.00316.51
7.4.120.0110.00616.43
7.4.110.0090.00916.46
7.4.100.0110.01116.52
7.4.90.0090.00916.48
7.4.80.0050.01319.39
7.4.70.0100.00916.21
7.4.60.0090.01216.42
7.4.50.0000.00916.33
7.4.40.0080.00322.77
7.4.30.0120.00416.30
7.4.00.0090.00614.74
7.3.330.0000.00613.10
7.3.320.0000.00513.16
7.3.310.0070.00016.10
7.3.300.0000.00716.29
7.3.290.0090.01216.30
7.3.280.0080.00816.29
7.3.270.0100.01017.40
7.3.260.0130.00416.51
7.3.250.0100.00616.24
7.3.240.0100.01016.21
7.3.230.0070.01016.39
7.3.210.0170.00416.26
7.3.200.0100.00619.39
7.3.190.0060.01016.46
7.3.180.0090.00616.47
7.3.170.0100.00616.27
7.3.160.0060.01416.40
7.3.120.0100.00714.73
7.2.330.0030.01316.45
7.2.320.0150.00316.25
7.2.310.0090.01316.48
7.2.300.0160.00016.49
7.2.290.0030.01216.35
7.2.60.0030.00916.57
7.1.200.0140.00015.72
7.1.70.0000.00717.00
7.1.60.0200.00319.82
7.1.50.0030.01016.80
7.1.00.0000.07022.43
7.0.200.0170.00314.58
7.0.140.0070.07022.18
7.0.60.0070.04019.79
7.0.50.0130.07317.84
7.0.40.0070.05320.03
7.0.30.0600.07320.30
7.0.20.0070.05020.12
7.0.10.0270.07020.18
7.0.00.0030.06320.09
5.6.280.0000.07721.10
5.6.210.0070.07720.64
5.6.200.0070.04318.23
5.6.190.0130.04020.65
5.6.180.0330.04720.61
5.6.170.0270.03320.49
5.6.160.0130.07720.44
5.6.150.0030.05718.15
5.6.140.0030.06018.11
5.6.130.0030.04718.07
5.6.120.0100.04720.99
5.6.110.0130.05021.00
5.6.100.0070.08321.13
5.6.90.0000.04320.98
5.6.80.0130.06020.38
5.6.70.4230.03720.52
5.5.350.0100.08020.44
5.5.340.0030.05318.02
5.5.330.0030.08020.25
5.5.320.0400.05020.27
5.5.310.0270.06720.13
5.5.300.0100.04018.02
5.5.290.0000.08717.98
5.5.280.0070.08020.68
5.5.270.0070.08020.97
5.5.260.0030.04720.96
5.5.250.0030.04720.66
5.5.240.0270.07720.04
5.4.450.0700.06319.58
5.4.440.0800.05319.46
5.4.430.0670.07019.48
5.4.420.0630.05319.16
5.4.410.0100.05318.72
5.4.400.0270.05318.75
5.4.390.0400.07318.40
5.4.380.0070.05318.70
5.4.370.0100.03318.60
5.4.360.0130.04718.57
5.4.350.0080.04511.97
5.4.340.0090.04611.97
5.4.320.0050.04412.45
5.4.310.0050.04512.45
5.4.300.0060.03712.46
5.4.290.0050.04212.45
5.4.280.0090.04212.35
5.4.270.0070.03712.35
5.4.260.0070.03612.35
5.4.250.0170.06018.88
5.4.240.0070.05718.87
5.4.230.0230.06018.71
5.4.220.0230.04718.75
5.4.210.0170.04318.96
5.4.200.0030.06318.88
5.4.190.0130.07318.63
5.4.180.0130.04318.99
5.4.170.0100.05018.87
5.4.160.0070.06018.84
5.4.150.0130.05718.70
5.4.140.0100.05016.46
5.4.130.0000.05316.53
5.4.120.0070.06016.30
5.4.110.0100.05316.21
5.4.100.0070.05016.27
5.4.90.0030.06016.49
5.4.80.0100.06316.37
5.4.70.0100.05016.37
5.4.60.0170.04716.31
5.4.50.0030.05716.40
5.4.40.0130.06316.46
5.4.30.0030.05016.30
5.4.20.0170.05316.44
5.4.10.0030.05316.44
5.4.00.0230.05015.73
5.3.290.0070.05412.80
5.3.280.0100.05014.64
5.3.270.0030.06314.49
5.3.260.0030.06014.61
5.3.250.0070.05014.43
5.3.240.0070.05314.62
5.3.230.0030.07014.75
5.3.220.0200.03714.43
5.3.210.0100.05014.57
5.3.200.0000.05714.57
5.3.190.0130.05014.56
5.3.180.0170.04314.26
5.3.170.0100.05014.58
5.3.160.0100.04314.40
5.3.150.0070.05014.57
5.3.140.0100.05314.55
5.3.130.0070.05714.24
5.3.120.0000.06014.56
5.3.110.0100.05014.55
5.3.100.0030.05313.88
5.3.90.0000.05313.90
5.3.80.0070.05013.93
5.3.70.0070.05313.71
5.3.60.0130.06313.87
5.3.50.0070.05013.71
5.3.40.0100.04313.73
5.3.30.0000.07313.79
5.3.20.0030.05313.70
5.3.10.0030.05313.53
5.3.00.0100.05313.58
5.2.170.0130.03311.05
5.2.160.0200.03711.04
5.2.150.0100.03711.06
5.2.140.0030.04011.29
5.2.130.0070.04011.20
5.2.120.0130.03011.01
5.2.110.0070.05311.04
5.2.100.0070.04011.20
5.2.90.0170.04310.93
5.2.80.0030.04311.00
5.2.70.0100.03711.18
5.2.60.0070.04011.05
5.2.50.0070.04011.04
5.2.40.0030.04010.91
5.2.30.0030.04010.92
5.2.20.0000.04710.95
5.2.10.0070.03710.93
5.2.00.0100.03310.89
5.1.60.0000.03310.23
5.1.50.0030.03710.02
5.1.40.0100.0309.89
5.1.30.0100.03010.34
5.1.20.0100.03310.13
5.1.10.0000.04010.09
5.1.00.0170.04010.00
5.0.50.0070.0278.57
5.0.40.0030.0278.25
5.0.30.0070.0408.11
5.0.20.0000.0278.18
5.0.10.0030.0277.99
5.0.00.0070.0438.11
4.4.90.0030.0206.64
4.4.80.0030.0206.64
4.4.70.0030.0236.64
4.4.60.0030.0206.64
4.4.50.0030.0206.64
4.4.40.0070.0306.64
4.4.30.0000.0276.64
4.4.20.0030.0206.64
4.4.10.0030.0206.64
4.4.00.0000.0476.64
4.3.110.0000.0236.64
4.3.100.0030.0306.64
4.3.90.0070.0176.64
4.3.80.0000.0376.64
4.3.70.0030.0206.64
4.3.60.0030.0276.64
4.3.50.0070.0176.64
4.3.40.0100.0406.64
4.3.30.0000.0306.64
4.3.20.0000.0236.64
4.3.10.0030.0206.64
4.3.00.0030.0207.08

preferences:
48.07 ms | 401 KiB | 5 Q