3v4l.org

run code in 300+ PHP versions simultaneously
<?php class foo { } $foo = new foo(); $foo->bar = 'baz';

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.0120.00318.55
8.3.50.0120.00421.20
8.3.40.0070.00718.72
8.3.30.0070.00720.35
8.3.20.0080.00020.39
8.3.10.0050.00321.00
8.3.00.0070.00022.27
8.2.180.0120.00818.41
8.2.170.0070.00722.96
8.2.160.0070.00721.99
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0020.00526.16
8.2.120.0040.00420.82
8.2.110.0030.00622.13
8.2.100.0080.00417.78
8.2.90.0000.00719.05
8.2.80.0060.00317.97
8.2.70.0080.00017.25
8.2.60.0030.00617.93
8.2.50.0030.00618.07
8.2.40.0000.00818.03
8.2.30.0040.00419.53
8.2.20.0000.00717.59
8.2.10.0050.00317.70
8.2.00.0080.00017.59
8.1.280.0070.01425.92
8.1.270.0080.00023.99
8.1.260.0070.00326.35
8.1.250.0070.00028.09
8.1.240.0060.00320.35
8.1.230.0060.00620.84
8.1.220.0000.00818.77
8.1.210.0030.00619.09
8.1.200.0030.00617.34
8.1.190.0060.00317.43
8.1.180.0060.00318.10
8.1.170.0080.00018.62
8.1.160.0000.00718.73
8.1.150.0050.00218.52
8.1.140.0000.00817.32
8.1.130.0030.00317.81
8.1.120.0000.00717.30
8.1.110.0040.00417.37
8.1.100.0030.00317.36
8.1.90.0040.00417.38
8.1.80.0030.00417.27
8.1.70.0000.00717.26
8.1.60.0000.00817.54
8.1.50.0000.00717.46
8.1.40.0040.00417.50
8.1.30.0050.00217.56
8.1.20.0080.00017.47
8.1.10.0000.00717.52
8.1.00.0040.00417.47
8.0.300.0060.00619.90
8.0.290.0030.00317.04
8.0.280.0000.00718.30
8.0.270.0000.00717.20
8.0.260.0000.00616.61
8.0.250.0070.00016.82
8.0.240.0050.00316.92
8.0.230.0030.00316.86
8.0.220.0000.00716.80
8.0.210.0040.00416.82
8.0.200.0040.00416.72
8.0.190.0000.00716.82
8.0.180.0070.00016.89
8.0.170.0000.00716.86
8.0.160.0000.00716.74
8.0.150.0000.00716.76
8.0.140.0040.00416.69
8.0.130.0060.00013.15
8.0.120.0000.00816.75
8.0.110.0030.00616.67
8.0.100.0000.00816.71
8.0.90.0050.00516.80
8.0.80.0040.01516.82
8.0.70.0040.00416.74
8.0.60.0040.00416.77
8.0.50.0050.00216.80
8.0.30.0100.00816.95
8.0.20.0080.01017.40
8.0.10.0040.00417.01
8.0.00.0080.00516.58
7.4.330.0050.00014.99
7.4.320.0000.00616.45
7.4.300.0000.00616.59
7.4.290.0070.00016.52
7.4.280.0030.00316.43
7.4.270.0030.00316.30
7.4.260.0000.00513.10
7.4.250.0070.00316.41
7.4.240.0040.00416.50
7.4.230.0000.00816.65
7.4.220.0090.00616.53
7.4.210.0090.00716.47
7.4.200.0000.00716.43
7.4.190.0000.00716.67
7.4.160.0070.01016.31
7.4.150.0090.00917.40
7.4.140.0100.01117.86
7.4.130.0080.00816.44
7.4.120.0050.01316.37
7.4.110.0130.00716.46
7.4.100.0110.00816.41
7.4.90.0070.01016.31
7.4.80.0070.01019.39
7.4.70.0160.00016.43
7.4.60.0280.01816.42
7.4.50.0000.00816.30
7.4.40.0110.00422.77
7.4.30.0100.00716.44
7.4.00.0070.01114.52
7.3.330.0050.00013.30
7.3.320.0060.00013.21
7.3.310.0060.00316.30
7.3.300.0070.00016.11
7.3.290.0120.00316.25
7.3.280.0110.00716.25
7.3.270.0100.00717.40
7.3.260.0110.00818.24
7.3.250.0140.00316.51
7.3.240.0130.01016.18
7.3.230.0140.00416.39
7.3.210.0030.01316.52
7.3.200.0090.01219.39
7.3.190.0160.00616.21
7.3.180.0140.00316.32
7.3.170.0120.00816.32
7.3.160.0140.00316.20
7.3.120.0090.00614.96
7.3.10.0070.00716.49
7.3.00.0030.01116.61
7.2.330.0030.01416.63
7.2.320.0070.01016.61
7.2.310.0030.02016.66
7.2.300.0060.01016.66
7.2.290.0080.00816.36
7.2.130.0030.01016.74
7.2.120.0030.01016.54
7.2.110.0000.01016.74
7.2.100.0090.00616.95
7.2.90.0030.00616.39
7.2.80.0090.00016.91
7.2.70.0090.00016.70
7.2.60.0110.00616.55
7.2.50.0000.01316.77
7.2.40.0040.01116.90
7.2.30.0100.00616.89
7.2.20.0030.01016.56
7.2.10.0030.01016.40
7.2.00.0060.01117.98
7.1.250.0040.00715.67
7.1.200.0030.00715.46
7.1.100.0000.01617.78
7.1.70.0000.00717.03
7.1.60.0180.00719.17
7.1.50.0120.01216.84
7.1.00.0000.03722.33
7.0.200.0000.01016.55
7.0.140.0100.06722.00
7.0.60.0370.06719.99
7.0.50.0000.04317.86
7.0.40.0070.08020.13
7.0.30.0200.04720.25
7.0.20.0300.06720.23
7.0.10.0030.04320.10
7.0.00.0070.05020.16
5.6.280.0070.07021.01
5.6.210.0100.03720.70
5.6.200.0130.06718.29
5.6.190.0070.06020.63
5.6.180.0500.07320.50
5.6.170.0300.05720.44
5.6.160.0030.06020.52
5.6.150.0070.08318.18
5.6.140.0130.08018.28
5.6.130.0100.04718.18
5.6.120.0070.04020.89
5.6.110.0030.04021.14
5.6.100.0100.09020.98
5.6.90.0070.06020.97
5.6.80.0130.07020.51
5.5.350.0230.07720.33
5.5.340.0100.05717.95
5.5.330.0100.08720.18
5.5.320.0330.08020.32
5.5.310.0200.03720.34
5.5.300.0100.05718.07
5.5.290.0030.09017.98
5.5.280.0200.06720.64
5.5.270.0030.04320.84
5.5.260.0070.04020.97
5.5.250.0030.08720.69
5.5.240.0230.06720.34
5.4.450.3970.04719.53
5.4.440.3900.03719.45
5.4.430.4270.04319.46
5.4.420.3630.04019.48
5.4.410.3700.04019.34
5.4.400.3930.04019.23
5.4.390.0600.05319.10
5.4.380.4170.03319.28
5.4.370.3830.03719.26
5.4.360.4600.03318.98
5.4.350.3700.04019.23
5.4.340.3870.04019.06
5.4.320.3900.04019.15
5.4.310.4100.04319.08
5.4.300.3830.04718.93
5.4.290.3930.04019.17
5.4.280.3970.03719.13
5.4.270.4230.04719.14
5.4.260.4370.04019.10
5.4.250.3800.03319.23
5.4.240.3930.03319.16
5.4.230.3730.02719.22
5.4.220.3700.04019.12
5.4.210.3600.04019.13
5.4.200.3900.03018.94
5.4.190.3470.03719.09
5.4.180.3470.03319.14
5.4.170.3700.03019.25
5.4.160.3000.03018.97
5.4.150.4130.04719.02
5.4.140.3500.04316.45
5.4.130.3300.02716.25
5.4.120.3400.03716.45
5.4.110.3670.03716.55
5.4.100.3730.03716.48
5.4.90.3770.04316.51
5.4.80.3330.03316.43
5.4.70.4030.03016.51
5.4.60.3970.03716.43
5.4.50.4170.03716.45
5.4.40.3830.03716.32
5.4.30.3900.03716.32
5.4.20.3930.03716.28
5.4.10.4230.04016.48
5.4.00.4800.02715.88
5.3.290.3900.03714.81
5.3.280.4300.03314.47
5.3.270.3900.03014.67
5.3.260.3900.03714.59
5.3.250.3700.03014.75
5.3.240.4130.04314.66
5.3.230.3130.04014.72
5.3.220.3670.03014.71
5.3.210.3030.04314.58
5.3.200.4770.03014.57
5.3.190.3630.03714.70
5.3.180.3630.03714.47
5.3.170.3730.03314.44
5.3.160.3500.04014.62
5.3.150.4000.03314.61
5.3.140.4100.04714.55
5.3.130.4030.03714.61
5.3.120.3900.03714.54
5.3.110.4130.04314.57
5.3.100.4570.04014.03
5.3.90.4330.04014.07
5.3.80.3370.03714.06
5.3.70.4000.03013.94
5.3.60.3930.03013.99
5.3.50.4100.03313.82
5.3.40.3900.04013.93
5.3.30.4270.03713.89
5.3.20.4300.04013.71
5.3.10.3870.03713.69
5.3.00.3730.02713.63
5.2.170.3470.03711.06
5.2.160.3300.02311.17
5.2.150.3430.02711.30
5.2.140.3330.02711.19
5.2.130.3400.02711.07
5.2.120.3170.03011.17
5.2.110.3270.03011.14
5.2.100.3400.02711.02
5.2.90.3270.03010.98
5.2.80.3500.03011.09
5.2.70.3070.03011.09
5.2.60.3500.03311.09
5.2.50.3900.03011.02
5.2.40.3200.02710.98
5.2.30.3100.03011.04
5.2.20.2400.03010.96
5.2.10.2700.03011.01
5.2.00.2530.02710.70
5.1.60.2770.0209.92
5.1.50.3370.02710.04
5.1.40.2670.02710.11
5.1.30.2470.02310.34
5.1.20.2400.02710.39
5.1.10.2800.02310.02
5.1.00.0030.03310.06
5.0.50.0000.0238.52
5.0.40.0030.0378.47
5.0.30.0030.0438.26
5.0.20.0000.0378.21
5.0.10.1470.0208.23
5.0.00.1470.0308.29
4.4.90.1800.0106.21
4.4.80.1730.0176.21
4.4.70.1430.0206.22
4.4.60.1400.0176.22
4.4.50.1500.0176.22
4.4.40.1170.0276.23
4.4.30.1430.0176.25
4.4.20.1300.0176.27
4.4.10.0000.0206.27
4.4.00.0030.0336.28
4.3.110.0070.0206.29
4.3.100.0000.0206.30
4.3.90.0970.0176.30
4.3.80.1470.0276.31
4.3.70.1400.0176.31
4.3.60.1430.0136.31
4.3.50.1530.0176.31
4.3.40.1470.0276.31
4.3.30.0670.0136.31
4.3.20.0630.0136.31
4.3.10.0770.0276.31
4.3.00.0900.0236.31

preferences:
40.39 ms | 401 KiB | 5 Q