3v4l.org

run code in 300+ PHP versions simultaneously
<?php $foo = array( 'foo', 'bar', );

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.4.20.0060.01317.60
8.4.10.0000.01017.73
8.3.150.0040.01118.92
8.3.140.0120.00317.10
8.3.130.0050.00318.56
8.3.120.0000.00918.60
8.3.110.0150.00320.94
8.3.100.0090.00624.06
8.3.90.0040.00426.77
8.3.80.0090.00016.63
8.3.70.0110.00716.58
8.3.60.0070.01118.18
8.3.50.0120.00816.40
8.3.40.0090.00618.35
8.3.30.0000.01418.45
8.3.20.0050.00320.29
8.3.10.0080.00020.76
8.3.00.0040.00420.32
8.2.260.0090.00916.39
8.2.250.0120.00618.40
8.2.240.0070.00718.91
8.2.230.0090.00022.58
8.2.220.0030.00637.54
8.2.210.0060.00326.77
8.2.200.0090.00016.50
8.2.190.0150.00016.58
8.2.180.0110.00425.92
8.2.170.0070.01518.56
8.2.160.0100.00722.96
8.2.150.0000.00725.66
8.2.140.0080.00024.66
8.2.130.0030.00326.16
8.2.120.0040.00420.69
8.2.110.0040.00720.52
8.2.100.0100.00317.78
8.2.90.0030.00518.82
8.2.80.0080.00017.97
8.2.70.0030.00617.38
8.2.60.0050.00217.79
8.2.50.0040.00418.10
8.2.40.0050.00220.45
8.2.30.0040.00419.24
8.2.20.0080.00017.92
8.2.10.0090.00017.96
8.2.00.0040.00417.95
8.1.310.0040.00418.35
8.1.300.0150.00317.82
8.1.290.0070.00318.88
8.1.280.0030.01225.92
8.1.270.0060.00324.66
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0000.00920.93
8.1.230.0110.00020.28
8.1.220.0000.00817.74
8.1.210.0040.00418.77
8.1.200.0000.00817.22
8.1.190.0000.00817.10
8.1.180.0040.00418.10
8.1.170.0040.00418.65
8.1.160.0000.00718.79
8.1.150.0000.00820.26
8.1.140.0000.00919.37
8.1.130.0030.00518.75
8.1.120.0030.00617.33
8.1.110.0000.00717.29
8.1.100.0040.00417.27
8.1.90.0040.00417.31
8.1.80.0070.00017.40
8.1.70.0000.00717.30
8.1.60.0060.00317.50
8.1.50.0050.00317.33
8.1.40.0000.00717.29
8.1.30.0000.00817.45
8.1.20.0020.00517.42
8.1.10.0000.00717.30
8.1.00.0050.00317.39
8.0.300.0000.00718.77
8.0.290.0040.00416.63
8.0.280.0070.00018.42
8.0.270.0030.00316.75
8.0.260.0000.00618.73
8.0.250.0000.00616.75
8.0.240.0030.00316.86
8.0.230.0040.00416.75
8.0.220.0040.00416.88
8.0.210.0000.00716.84
8.0.200.0000.00716.90
8.0.190.0080.00016.84
8.0.180.0030.00816.77
8.0.170.0080.00016.82
8.0.160.0040.00316.84
8.0.150.0000.00816.72
8.0.140.0040.00416.80
8.0.130.0040.00413.16
8.0.120.0030.00316.76
8.0.110.0040.00416.66
8.0.100.0070.00016.70
8.0.90.0000.00816.86
8.0.80.0040.01116.79
8.0.70.0030.00516.73
8.0.60.0000.00716.81
8.0.50.0040.00416.73
8.0.30.0110.00817.06
8.0.20.0100.00817.40
8.0.10.0050.00216.95
8.0.00.0130.00316.67
7.4.330.0000.00515.55
7.4.320.0000.00616.43
7.4.300.0060.00016.58
7.4.290.0070.00416.42
7.4.280.0080.00016.52
7.4.270.0000.00716.46
7.4.260.0070.00016.43
7.4.250.0000.00816.36
7.4.240.0030.00316.51
7.4.230.0040.00416.38
7.4.220.0060.01216.30
7.4.210.0000.01416.52
7.4.200.0030.00316.47
7.4.160.0100.00616.42
7.4.150.0090.00917.40
7.4.140.0110.00617.86
7.4.130.0040.01316.24
7.4.120.0150.00416.45
7.4.110.0170.00016.40
7.4.100.0130.00916.41
7.4.90.0110.00716.28
7.4.80.0070.01019.39
7.4.70.0110.00516.39
7.4.60.0000.01516.41
7.4.50.0040.01216.60
7.4.40.0070.01016.43
7.4.30.0080.00816.43
7.4.00.0000.01314.59
7.3.330.0000.00512.86
7.3.320.0000.00512.96
7.3.310.0030.00316.18
7.3.300.0000.00716.11
7.3.290.0050.01116.20
7.3.280.0100.00616.12
7.3.270.0140.00317.40
7.3.260.0110.00616.23
7.3.250.0080.01016.29
7.3.240.0100.00816.23
7.3.230.0120.00416.41
7.3.210.0130.00316.39
7.3.200.0060.01216.37
7.3.190.0030.01216.44
7.3.180.0120.00916.14
7.3.170.0100.00716.16
7.3.160.0100.00616.41
7.2.330.0150.00416.60
7.2.320.0090.00916.27
7.2.310.0140.00316.10
7.2.300.0090.00916.47
7.2.290.0040.01316.25
7.2.110.0140.00316.26
7.2.60.0070.00716.73
7.1.200.0120.00015.59
7.1.90.0080.00717.99
7.1.80.0300.00917.80
7.1.70.0270.01316.45
7.1.60.0640.00935.02
7.1.50.0190.01034.70
7.1.40.0410.01033.76
7.1.30.0180.01234.33
7.1.20.0390.01133.79
7.1.10.0070.00615.69
7.1.00.0250.00715.86
7.0.230.0010.01317.67
7.0.220.0060.00717.56
7.0.210.0450.00715.62
7.0.200.0060.00616.57
7.0.190.0070.00616.59
7.0.180.0320.01015.50
7.0.170.0250.00916.11
7.0.160.0070.00715.57
7.0.150.0200.00915.46
7.0.140.0250.00715.58
7.0.130.0260.01015.69
7.0.120.0290.00715.73
7.0.110.0290.01015.59
7.0.100.0240.00515.55
7.0.90.0170.01015.49
7.0.80.0210.01015.58
7.0.70.0200.00915.69
7.0.60.0210.00615.47
7.0.50.0180.01015.59
7.0.40.0240.01115.82
7.0.30.0210.01115.76
7.0.20.0200.00715.75
7.0.10.0200.00815.67
7.0.00.0190.00815.58
5.6.300.0070.05920.75
5.6.290.0110.05920.59
5.6.280.0110.05320.93
5.6.270.0120.06520.89
5.6.260.0130.06420.87
5.6.250.0160.05020.88
5.6.240.0070.07020.78
5.6.230.0130.06520.91
5.6.220.0140.06320.84
5.6.210.0100.06420.93
5.6.200.0090.05920.86
5.6.190.0080.05820.86
5.6.180.0040.06520.79
5.6.170.0060.05820.95
5.6.160.0120.05320.89
5.6.150.0160.05120.82
5.6.140.0150.06020.88
5.6.130.0070.06320.88
5.6.120.0140.06220.75
5.6.110.0040.06220.80
5.6.100.0130.05520.83
5.6.90.0120.05120.71
5.6.80.0130.04720.23
5.6.70.0090.05120.20
5.6.60.0150.05220.09
5.6.50.0090.05320.20
5.6.40.0070.05520.21
5.6.30.0120.05020.18
5.6.20.0140.04920.08
5.6.10.0130.04920.16
5.6.00.0070.06120.18
5.5.380.0110.05117.41
5.5.370.0070.07317.45
5.5.360.0110.06217.39
5.5.350.0080.05317.42
5.5.340.0080.05517.81
5.5.330.0080.06117.97
5.5.320.0110.05817.96
5.5.310.0060.05817.82
5.5.300.0080.06217.81
5.5.290.0080.06817.83
5.5.280.0170.06317.94
5.5.270.0180.05117.79
5.5.260.0090.05717.94
5.5.250.0100.05417.68
5.5.240.0040.05617.30
5.5.230.0120.05117.23
5.5.220.0070.05217.26
5.5.210.0160.04417.21
5.5.200.0060.05417.35
5.5.190.0070.05417.29
5.5.180.0090.05417.17
5.5.160.0150.04817.19
5.5.150.0120.04717.21
5.5.140.0110.05617.33
5.5.130.0080.05217.20
5.5.120.0080.05017.26
5.5.110.0050.05317.17
5.5.100.0060.06117.16
5.5.90.0090.05117.10
5.5.80.0060.05217.10
5.5.70.0110.05717.22
5.5.60.0100.05417.19
5.5.50.0080.05316.96
5.5.40.0090.04917.19
5.5.30.0050.05517.05
5.5.20.0090.05317.10
5.5.10.0110.05117.17
5.5.00.0120.05017.18
5.4.450.0120.06019.29
5.4.440.0070.06019.30
5.4.430.0150.05419.25
5.4.420.0160.04619.35
5.4.410.0110.05019.28
5.4.400.0090.05118.99
5.4.390.0110.05518.91
5.4.380.0060.05418.91
5.4.370.0060.05418.98
5.4.360.0130.04918.94
5.4.350.0080.05619.11
5.4.340.0080.05418.89
5.4.320.0100.05519.05
5.4.310.0080.05219.00
5.4.300.0090.05518.95
5.4.290.0100.04919.03
5.4.280.0080.05918.93
5.4.270.0080.05118.96
5.4.260.0120.04618.92
5.4.250.0090.05118.97
5.4.240.0090.04919.04
5.4.230.0140.05519.01
5.4.220.0080.05819.00
5.4.210.0070.05218.92
5.4.200.0100.05018.92
5.4.190.0080.05618.98
5.4.180.0110.04818.88
5.4.170.0070.05118.97
5.4.160.0130.04719.00
5.4.150.0090.05219.02
5.4.140.0020.05616.45
5.4.130.0070.05516.49
5.4.120.0080.05316.47
5.4.110.0090.05516.42
5.4.100.0130.04816.53
5.4.90.0080.05116.54
5.4.80.0070.05016.45
5.4.70.0090.05316.52
5.4.60.0040.05016.52
5.4.50.0030.05316.43
5.4.40.0050.05016.42
5.4.30.0140.05016.52
5.4.20.0090.05016.40
5.4.10.0050.05316.50
5.4.00.0090.04515.95
5.3.290.0060.05814.77
5.3.280.0030.05714.57
5.3.270.0090.05114.71
5.3.260.0140.04914.68
5.3.250.0090.04714.68
5.3.240.0070.05014.68
5.3.230.0130.04914.69
5.3.220.0100.05314.60
5.3.210.0100.05414.66
5.3.200.0070.04914.62
5.3.190.0040.05514.63
5.3.180.0090.06014.70
5.3.170.0070.05514.64
5.3.160.0070.04914.63
5.3.150.0070.05914.65
5.3.140.0100.04614.64
5.3.130.0090.05614.64
5.3.120.0080.05814.64
5.3.110.0080.05114.66
5.3.100.0080.04814.04
5.3.90.0050.05214.00
5.3.80.0090.04914.00
5.3.70.0080.04814.09
5.3.60.0130.04214.13
5.3.50.0110.05514.02
5.3.40.0110.04913.92
5.3.30.0080.04513.94
5.3.20.0130.04713.69
5.3.10.0070.04713.63
5.3.00.0070.05313.74
5.2.170.0050.04911.16
5.2.160.0110.03811.24
5.2.150.0050.04811.23
5.2.140.0040.04411.25
5.2.130.0050.04311.09
5.2.120.0020.04411.28
5.2.110.0070.03711.18
5.2.100.0070.03811.09
5.2.90.0060.03811.19
5.2.80.0060.04111.21
5.2.70.0040.04111.15
5.2.60.0080.03911.22
5.2.50.0020.04311.14
5.2.40.0060.04311.02
5.2.30.0080.04011.08
5.2.20.0080.03711.00
5.2.10.0040.04210.91
5.2.00.0080.04510.77
5.1.60.0080.03310.09
5.1.50.0060.03610.08
5.1.40.0070.0349.94
5.1.30.0040.03510.41
5.1.20.0050.03510.60
5.1.10.0100.03010.16
5.1.00.0070.03610.18
5.0.50.0040.0288.59
5.0.40.0010.0308.55
5.0.30.0050.0408.41
5.0.20.0080.0248.30
5.0.10.0040.0278.37
5.0.00.0030.0428.27
4.4.90.0030.0216.61
4.4.80.0030.0256.61
4.4.70.0040.0206.61
4.4.60.0050.0216.62
4.4.50.0040.0206.62
4.4.40.0000.0376.62
4.4.30.0040.0206.62
4.4.20.0040.0216.62
4.4.10.0080.0186.62
4.4.00.0020.0346.62
4.3.110.0050.0196.62
4.3.100.0030.0236.62
4.3.90.0020.0216.62
4.3.80.0030.0326.62
4.3.70.0030.0206.62
4.3.60.0060.0196.62
4.3.50.0060.0216.62
4.3.40.0030.0356.62
4.3.30.0050.0236.62
4.3.20.0030.0236.62
4.3.10.0000.0266.62
4.3.00.0010.0246.62

preferences:
62.66 ms | 406 KiB | 6 Q