3v4l.org

run code in 300+ PHP versions simultaneously
<?php $Info = array( array('name'=> 'a', 'description'=>'b'), array('name'=> 'c', 'description'=>'d'), array('name'=> 'e', 'description'=>'f') ); echo('<div class="tbl">'); foreach($Info as $Info) { echo('<div class="block">'); echo('<p>Name: ' . $Info['name'] . '</p><p>Description: ' . $Info['description'] . '</p>'); echo('</div>'); } echo('</div>');

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.60.0110.01116.75
8.3.50.0100.00822.04
8.3.40.0110.00318.79
8.3.30.0000.01419.09
8.3.20.0040.00420.34
8.3.10.0040.00423.48
8.3.00.0000.00820.96
8.2.180.0040.01116.63
8.2.170.0080.00822.96
8.2.160.0160.00320.39
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0190.00026.16
8.2.120.0000.00820.93
8.2.110.0090.00022.11
8.2.100.0080.00320.48
8.2.90.0040.00419.36
8.2.80.0040.00417.97
8.2.70.0030.00617.75
8.2.60.0030.00717.93
8.2.50.0040.00818.07
8.2.40.0080.00019.85
8.2.30.0000.00718.20
8.2.20.0060.00317.76
8.2.10.0040.00418.07
8.2.00.0040.00417.68
8.1.280.0040.01125.92
8.1.270.0080.00023.97
8.1.260.0040.00426.35
8.1.250.0030.00628.09
8.1.240.0090.00023.79
8.1.230.0080.00319.16
8.1.220.0030.00617.74
8.1.210.0040.00418.77
8.1.200.0030.00617.36
8.1.190.0030.00617.35
8.1.180.0000.00818.10
8.1.170.0050.00318.66
8.1.160.0050.00221.94
8.1.150.0000.00718.64
8.1.140.0050.00317.45
8.1.130.0070.00017.89
8.1.120.0070.00017.54
8.1.110.0050.00217.45
8.1.100.0000.00717.45
8.1.90.0030.00517.37
8.1.80.0030.00317.49
8.1.70.0000.00817.44
8.1.60.0000.00817.59
8.1.50.0000.00817.46
8.1.40.0000.00817.54
8.1.30.0000.00817.67
8.1.20.0000.00717.66
8.1.10.0070.00017.59
8.1.00.0030.00517.41
8.0.300.0070.00018.77
8.0.290.0000.00816.75
8.0.280.0070.00018.45
8.0.270.0030.00317.17
8.0.260.0000.00617.16
8.0.250.0090.00016.87
8.0.240.0030.00316.96
8.0.230.0000.00817.00
8.0.220.0030.00316.77
8.0.210.0070.00016.93
8.0.200.0030.00316.95
8.0.190.0030.00316.98
8.0.180.0070.00016.90
8.0.170.0000.00716.94
8.0.160.0000.00716.91
8.0.150.0100.00016.86
8.0.140.0040.00416.85
8.0.130.0050.00013.39
8.0.120.0070.00316.87
8.0.110.0000.00716.98
8.0.100.0000.00816.91
8.0.90.0030.00516.90
8.0.80.0080.00716.86
8.0.70.0040.00416.85
8.0.60.0040.00416.85
8.0.50.0000.00816.89
8.0.30.0090.01017.03
8.0.20.0150.02117.40
8.0.10.0000.00717.02
8.0.00.0090.01116.88
7.4.330.0030.00315.05
7.4.320.0030.00316.51
7.4.300.0000.00816.50
7.4.290.0000.00716.43
7.4.280.0000.00716.52
7.4.270.0000.00716.66
7.4.260.0080.00016.54
7.4.250.0080.00016.46
7.4.240.0020.00616.56
7.4.230.0030.00316.56
7.4.220.0230.00316.53
7.4.210.0090.00616.59
7.4.200.0050.00316.50
7.4.160.0060.00916.62
7.4.150.0110.00717.40
7.4.140.0070.01417.86
7.4.130.0090.00816.46
7.4.120.0100.00616.50
7.4.110.0140.00316.63
7.4.100.0130.00916.59
7.4.90.0130.01016.62
7.4.80.0170.00319.39
7.4.70.0060.01016.31
7.4.60.0040.01216.36
7.4.50.0040.00016.76
7.4.40.0080.01516.43
7.4.30.0060.01116.58
7.4.00.0070.00714.97
7.3.330.0030.00313.23
7.3.320.0000.00513.04
7.3.310.0000.00616.12
7.3.300.0040.00416.34
7.3.290.0100.00916.31
7.3.280.0140.00516.25
7.3.270.0120.00917.40
7.3.260.0060.01216.32
7.3.250.0100.00916.43
7.3.240.0040.01316.61
7.3.230.0120.00616.39
7.3.210.0120.00616.41
7.3.200.0060.00919.39
7.3.190.0150.00616.29
7.3.180.0090.00616.38
7.3.170.0090.00916.40
7.3.160.0040.01216.53
7.3.120.0050.01314.77
7.2.330.0090.00916.70
7.2.320.0100.00716.81
7.2.310.0170.00016.50
7.2.300.0140.00316.42
7.2.290.0080.00816.62
7.2.60.0030.01017.08
7.2.00.0060.00619.25
7.1.200.0000.01015.82
7.1.100.0100.00317.99
7.1.70.0030.00316.98
7.1.60.0090.01519.70
7.1.50.0130.01316.85
7.1.00.0030.07722.35
7.0.200.0060.00316.89
7.0.140.0030.07321.95
7.0.60.0070.08019.94
7.0.50.0130.06317.88
7.0.40.0130.05320.24
7.0.30.0530.06720.39
7.0.20.0430.06320.00
7.0.10.0100.06320.05
7.0.00.0200.06320.13
5.6.280.0030.06720.81
5.6.210.0170.07020.76
5.6.200.0000.08318.09
5.6.190.0170.03320.45
5.6.180.0200.05320.67
5.6.170.0230.05320.38
5.6.160.0030.04020.40
5.6.150.0030.06318.09
5.6.140.0030.03718.09
5.6.130.0070.08018.07
5.6.120.0100.07721.09
5.6.110.0200.06721.11
5.6.100.0100.07721.00
5.6.90.0130.05720.97
5.6.80.0070.07320.28
5.6.70.3600.03320.39
5.5.350.0100.08020.38
5.5.340.0130.07717.98
5.5.330.0030.04720.38
5.5.320.0030.07020.21
5.5.310.0300.06320.41
5.5.300.0030.04317.93
5.5.290.0000.05317.98
5.5.280.0030.04020.97
5.5.270.0070.05720.67
5.5.260.0070.08020.77
5.5.250.0000.04320.46
5.5.240.0100.06720.18
5.4.450.2100.05019.57
5.4.440.2070.04019.10
5.4.430.2130.04719.21
5.4.420.2130.03719.38
5.4.410.2200.04019.00
5.4.400.2000.03019.07
5.4.390.1800.03018.93
5.4.380.1900.04018.88
5.4.370.1900.04319.10
5.4.360.2230.03718.83
5.4.350.1930.04018.91
5.4.340.2200.04319.20
5.4.320.2100.04318.80
5.4.310.2070.03019.10
5.4.300.2300.04719.21
5.4.290.2100.04719.06
5.4.280.2100.03718.91
5.4.270.2030.05019.08
5.4.260.2070.03019.23
5.4.250.2100.04719.21
5.4.240.2170.04019.09
5.4.230.1900.03719.07
5.4.220.1930.03718.88
5.4.210.2330.04719.13
5.4.200.2000.04318.92
5.4.190.2070.04719.09
5.4.180.1970.03019.08
5.4.170.2000.03319.09
5.4.160.2400.03719.19
5.4.150.1930.04019.11
5.4.140.2170.04016.27
5.4.130.0970.03716.31
5.4.120.0000.03716.42
5.4.110.0100.07316.21
5.4.100.0030.04716.18
5.4.90.2200.03316.34
5.4.80.1930.03316.48
5.4.70.2200.03716.43
5.4.60.2100.04316.41
5.4.50.2100.03016.17
5.4.40.2000.02716.47
5.4.30.1900.03716.45
5.4.20.2130.03716.27
5.4.10.2170.04016.47
5.4.00.2000.02715.77
5.3.290.2070.03714.52
5.3.280.2030.03314.54
5.3.270.2270.05014.65
5.3.260.2170.04314.46
5.3.250.2300.04314.44
5.3.240.1970.03314.46
5.3.230.2070.04314.54
5.3.220.2230.03714.41
5.3.210.2200.04014.68
5.3.200.1970.03314.67
5.3.190.2170.04714.66
5.3.180.1930.04014.41
5.3.170.1970.03014.42
5.3.160.2170.04314.41
5.3.150.2070.04014.61
5.3.140.2370.04014.60
5.3.130.2030.05014.42
5.3.120.1970.03314.39
5.3.110.2430.03714.38
5.3.100.2100.04714.05
5.3.90.1900.03713.96
5.3.80.1830.04313.96
5.3.70.1830.04314.14
5.3.60.1870.03713.95
5.3.50.2100.04313.80
5.3.40.1970.04013.96
5.3.30.2130.03713.68
5.3.20.2070.04313.64
5.3.10.2170.03713.69
5.3.00.2000.04713.59
5.2.170.1770.03311.15
5.2.160.1800.03311.30
5.2.150.1900.03310.98
5.2.140.1770.03711.05
5.2.130.1670.03011.04
5.2.120.1630.02311.15
5.2.110.1630.02311.04
5.2.100.1500.03311.15
5.2.90.1870.02711.15
5.2.80.1930.03311.11
5.2.70.1600.03011.14
5.2.60.1900.03010.91
5.2.50.2000.03310.90
5.2.40.1370.03010.93
5.2.30.1530.03711.13
5.2.20.1470.03710.80
5.2.10.1470.03710.93
5.2.00.1300.02710.63
5.1.60.1430.0339.97
5.1.50.1230.0279.85
5.1.40.1500.03010.05
5.1.30.1330.02710.23
5.1.20.1530.03010.51
5.1.10.1230.03010.06
5.1.00.1500.0309.93
5.0.50.0870.0308.63
5.0.40.0770.0238.38
5.0.30.0830.0438.27
5.0.20.0770.0238.27
5.0.10.0630.0208.14
5.0.00.0600.0338.20
4.4.90.0630.0177.93
4.4.80.0630.0137.93
4.4.70.0630.0137.93
4.4.60.0900.0207.93
4.4.50.0800.0137.93
4.4.40.0600.0277.93
4.4.30.0630.0137.93
4.4.20.0630.0137.93
4.4.10.0600.0177.93
4.4.00.0630.0237.93
4.3.110.0830.0137.93
4.3.100.0800.0237.93
4.3.90.0700.0137.93
4.3.80.0870.0377.93
4.3.70.0670.0177.93
4.3.60.0830.0137.93
4.3.50.0870.0207.93
4.3.40.0670.0277.93
4.3.30.0470.0237.93
4.3.20.0400.0177.93
4.3.10.0300.0177.93
4.3.00.0300.0177.93

preferences:
43.91 ms | 401 KiB | 5 Q