3v4l.org

run code in 300+ PHP versions simultaneously
<?php $scores = array ( array(76,62,56,60), array(62,82,56,47), array(52,62,66,80), array(72,52,72,65) ); print_r($scores, true);

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.0140.00416.50
8.3.50.0140.00017.96
8.3.40.0000.01418.51
8.3.30.0070.00718.96
8.3.20.0070.00020.22
8.3.10.0080.00021.78
8.3.00.0050.00319.26
8.2.180.0070.01016.38
8.2.170.0090.00622.96
8.2.160.0070.00721.97
8.2.150.0040.00424.18
8.2.140.0050.00324.66
8.2.130.0030.00626.16
8.2.120.0040.00419.66
8.2.110.0100.00019.27
8.2.100.0080.00417.63
8.2.90.0000.00719.08
8.2.80.0000.00817.97
8.2.70.0040.00417.50
8.2.60.0040.00417.68
8.2.50.0030.00618.07
8.2.40.0080.00019.89
8.2.30.0000.00717.86
8.2.20.0080.00017.59
8.2.10.0000.00717.86
8.2.00.0000.00817.55
8.1.280.0040.01125.92
8.1.270.0030.00520.70
8.1.260.0000.00726.35
8.1.250.0040.00428.09
8.1.240.0030.00623.92
8.1.230.0040.00817.42
8.1.220.0040.00417.74
8.1.210.0030.00518.77
8.1.200.0030.00717.35
8.1.190.0040.00417.10
8.1.180.0040.00418.10
8.1.170.0030.00620.37
8.1.160.0040.00421.89
8.1.150.0040.00418.82
8.1.140.0050.00317.37
8.1.130.0000.00717.82
8.1.120.0030.00917.41
8.1.110.0000.00717.41
8.1.100.0050.00217.44
8.1.90.0040.00417.41
8.1.80.0040.00417.33
8.1.70.0000.00817.42
8.1.60.0040.00417.45
8.1.50.0030.00617.37
8.1.40.0070.00017.33
8.1.30.0030.00517.50
8.1.20.0050.00317.57
8.1.10.0040.00417.29
8.1.00.0080.00017.22
8.0.300.0040.00418.77
8.0.290.0030.00616.63
8.0.280.0000.00718.32
8.0.270.0000.00717.22
8.0.260.0000.00617.19
8.0.250.0000.00716.89
8.0.240.0030.00316.92
8.0.230.0040.00416.84
8.0.220.0000.00716.90
8.0.210.0000.00816.68
8.0.200.0030.00616.79
8.0.190.0000.00816.91
8.0.180.0000.00716.67
8.0.170.0030.00516.88
8.0.160.0000.00716.73
8.0.150.0040.00416.66
8.0.140.0070.00016.75
8.0.130.0030.00313.20
8.0.120.0030.00616.74
8.0.110.0100.00016.82
8.0.100.0000.00816.76
8.0.90.0050.00316.66
8.0.80.0090.00616.80
8.0.70.0070.00016.78
8.0.60.0040.00416.88
8.0.50.0030.00516.70
8.0.30.0160.01216.87
8.0.20.0090.01117.40
8.0.10.0000.00816.95
8.0.00.0050.01116.67
7.4.330.0000.00515.03
7.4.320.0000.00616.52
7.4.300.0030.00316.51
7.4.290.0040.00416.52
7.4.280.0000.00816.32
7.4.270.0000.00716.43
7.4.260.0070.00016.36
7.4.250.0000.00816.41
7.4.240.0030.00316.44
7.4.230.0000.00716.33
7.4.220.0110.01116.38
7.4.210.0070.00816.36
7.4.200.0050.00316.36
7.4.160.0000.01716.55
7.4.150.0140.00617.40
7.4.140.0070.01017.86
7.4.130.0110.00816.37
7.4.120.0110.00616.29
7.4.110.0090.01216.62
7.4.100.0060.01016.38
7.4.90.0130.01016.36
7.4.80.0090.01519.39
7.4.70.0100.01116.41
7.4.60.0130.00316.34
7.4.50.0030.00516.23
7.4.40.0150.00316.19
7.4.30.0120.01216.20
7.4.00.0070.01014.87
7.3.330.0050.00012.93
7.3.320.0100.00512.68
7.3.310.0000.00716.18
7.3.300.0000.00716.14
7.3.290.0000.00716.16
7.3.280.0080.00716.14
7.3.270.0190.00317.40
7.3.260.0120.00616.36
7.3.250.0130.00516.25
7.3.240.0040.01216.11
7.3.230.0120.01216.39
7.3.210.0040.01816.30
7.3.200.0030.01419.39
7.3.190.0000.01615.96
7.3.180.0130.00316.48
7.3.170.0040.01216.28
7.3.160.0090.00916.14
7.3.10.0080.00816.29
7.3.00.0070.00716.67
7.2.330.0140.00316.13
7.2.320.0140.00316.52
7.2.310.0060.01816.48
7.2.300.0080.01316.23
7.2.290.0100.00716.46
7.2.130.0090.00616.50
7.2.120.0000.01216.59
7.2.110.0070.00716.70
7.2.100.0120.00016.54
7.2.90.0080.00816.94
7.2.80.0070.01116.34
7.2.70.0110.00016.55
7.2.60.0070.00716.87
7.2.50.0070.01116.85
7.2.40.0070.00316.72
7.2.30.0040.01216.65
7.2.20.0070.00316.82
7.2.10.0000.01416.59
7.2.00.0070.00817.90
7.1.250.0000.01015.69
7.1.200.0070.00415.70
7.1.100.0050.00317.93
7.1.70.0040.01116.80
7.1.60.0130.01019.46
7.1.50.0060.01616.80
7.1.00.0100.06322.41
7.0.200.0840.00314.69
7.0.140.0170.06322.18
7.0.60.0070.06719.93
7.0.50.0070.04017.87
7.0.40.0170.07720.11
7.0.30.0370.04020.21
7.0.20.0400.07020.09
7.0.10.0030.09320.08
7.0.00.0130.07320.05
5.6.280.0100.06721.02
5.6.210.0070.07720.54
5.6.200.0030.08318.18
5.6.190.0070.04020.45
5.6.180.0500.07320.51
5.6.170.0230.04320.54
5.6.160.0070.06320.57
5.6.150.0100.07718.30
5.6.140.0100.07018.14
5.6.130.0100.08018.19
5.6.120.0030.08020.96
5.6.110.0130.08721.14
5.6.100.0070.07721.00
5.6.90.0100.08721.10
5.6.80.0130.07020.28
5.5.350.0230.08020.40
5.5.340.0070.04317.98
5.5.330.0100.08320.42
5.5.320.0030.08020.22
5.5.310.0130.04320.34
5.5.300.0130.06717.96
5.5.290.0070.08317.96
5.5.280.0170.05720.65
5.5.270.0130.04020.79
5.5.260.0130.07720.88
5.5.250.0070.08320.61
5.5.240.0130.08020.36
5.4.450.3970.04019.64
5.4.440.3500.04319.27
5.4.430.3630.04319.20
5.4.420.3500.04019.45
5.4.410.3330.03719.39
5.4.400.3300.04019.25
5.4.390.3230.04018.87
5.4.380.3530.04019.13
5.4.370.3430.03719.06
5.4.360.3370.03719.21
5.4.350.3470.04019.06
5.4.340.3270.03718.94
5.4.320.3400.04019.06
5.4.310.3930.04719.09
5.4.300.3770.03718.99
5.4.290.3600.04719.08
5.4.280.3470.03019.19
5.4.270.3830.03018.84
5.4.260.3900.03019.07
5.4.250.3530.03719.30
5.4.240.4070.04019.13
5.4.230.4130.03719.26
5.4.220.4230.04018.84
5.4.210.4300.04018.86
5.4.200.3270.04319.08
5.4.190.4030.03719.29
5.4.180.4570.03718.93
5.4.170.3500.04319.14
5.4.160.3600.03719.20
5.4.150.3400.04018.96
5.4.140.4170.04016.41
5.4.130.3330.04016.34
5.4.120.3430.03316.31
5.4.110.4070.03016.27
5.4.100.4370.03316.19
5.4.90.3900.03716.50
5.4.80.3700.02716.50
5.4.70.3300.03016.35
5.4.60.4100.04316.53
5.4.50.3930.04016.20
5.4.40.3870.02716.44
5.4.30.3630.03016.24
5.4.20.4330.03316.53
5.4.10.4370.03716.37
5.4.00.4070.03715.94
5.3.290.3400.04014.71
5.3.280.3830.03014.51
5.3.270.3670.04314.57
5.3.260.3770.04014.68
5.3.250.4130.03714.82
5.3.240.3730.03714.68
5.3.230.4830.02714.52
5.3.220.3770.03314.61
5.3.210.3900.04014.46
5.3.200.3870.03314.57
5.3.190.4030.03714.46
5.3.180.4200.03314.53
5.3.170.3630.03714.64
5.3.160.4170.04314.47
5.3.150.3870.03314.64
5.3.140.3700.04014.46
5.3.130.4170.04014.56
5.3.120.4330.03714.55
5.3.110.4230.04014.47
5.3.100.3730.04014.25
5.3.90.3530.03314.06
5.3.80.3300.03313.94
5.3.70.3430.03314.02
5.3.60.4100.03014.10
5.3.50.3470.04313.87
5.3.40.3630.03013.95
5.3.30.3930.03313.82
5.3.20.3930.04013.69
5.3.10.3400.03713.57
5.3.00.3430.03013.56
5.2.170.2770.02711.15
5.2.160.3470.02711.22
5.2.150.2700.03011.10
5.2.140.3470.03311.01
5.2.130.3500.03011.32
5.2.120.3530.02711.02
5.2.110.3170.02711.02
5.2.100.3230.02711.01
5.2.90.2930.02711.32
5.2.80.3430.03011.18
5.2.70.3070.03311.25
5.2.60.3030.03311.29
5.2.50.2830.03011.13
5.2.40.2200.02711.10
5.2.30.2200.02711.05
5.2.20.2730.02710.93
5.2.10.2870.03011.01
5.2.00.3030.02310.93
5.1.60.2730.02710.04
5.1.50.3000.0239.97
5.1.40.2670.0279.95
5.1.30.2400.03310.25
5.1.20.2370.03010.57
5.1.10.2230.02310.16
5.1.00.2230.02010.07
5.0.50.0930.0208.63
5.0.40.1330.0208.38
5.0.30.1100.0308.22
5.0.20.1500.0178.17
5.0.10.1670.0178.25
5.0.00.1630.0278.04
4.4.90.1170.0175.90
4.4.80.1270.0135.88
4.4.70.1400.0135.81
4.4.60.1130.0175.82
4.4.50.1400.0205.91
4.4.40.1700.0235.89
4.4.30.1630.0205.82
4.4.20.1270.0205.90
4.4.10.1330.0135.88
4.4.00.1400.0305.84
4.3.110.1200.0135.75
4.3.100.1770.0135.69
4.3.90.1100.0135.71
4.3.80.1800.0205.73
4.3.70.1170.0175.70
4.3.60.1270.0135.76
4.3.50.0870.0135.74
4.3.40.1130.0235.70
4.3.30.0600.0174.83
4.3.20.0600.0134.83
4.3.10.0600.0134.83
4.3.00.0570.0134.83

preferences:
45.83 ms | 400 KiB | 5 Q