3v4l.org

run code in 300+ PHP versions simultaneously
<?php class foo { public $bar = 'baz'; } $foo = new foo; echo "foo bar {$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.3.60.0150.00016.25
8.3.50.0110.00922.06
8.3.40.0070.00718.64
8.3.30.0070.01118.95
8.3.20.0040.00420.30
8.3.10.0040.00423.66
8.3.00.0080.00019.25
8.2.180.0120.00318.41
8.2.170.0120.00322.96
8.2.160.0100.00320.50
8.2.150.0030.00524.18
8.2.140.0040.00424.66
8.2.130.0030.01026.16
8.2.120.0080.00021.95
8.2.110.0060.00322.30
8.2.100.0090.00317.78
8.2.90.0050.00319.15
8.2.80.0060.00317.97
8.2.70.0040.00417.38
8.2.60.0040.00417.93
8.2.50.0000.00818.07
8.2.40.0000.00818.16
8.2.30.0040.00417.99
8.2.20.0040.00417.67
8.2.10.0070.00018.11
8.2.00.0030.00717.50
8.1.280.0070.01025.92
8.1.270.0040.00422.14
8.1.260.0030.00526.35
8.1.250.0070.00028.09
8.1.240.0040.00423.87
8.1.230.0110.00017.42
8.1.220.0040.00417.74
8.1.210.0030.00818.77
8.1.200.0030.00617.10
8.1.190.0080.00017.38
8.1.180.0050.00318.10
8.1.170.0100.00018.49
8.1.160.0030.00322.00
8.1.150.0000.00718.48
8.1.140.0040.00417.31
8.1.130.0000.00717.89
8.1.120.0000.00817.35
8.1.110.0000.00717.32
8.1.100.0030.00317.44
8.1.90.0000.00717.39
8.1.80.0040.00417.42
8.1.70.0040.00417.25
8.1.60.0070.00017.45
8.1.50.0060.00317.36
8.1.40.0030.00517.43
8.1.30.0050.00317.59
8.1.20.0000.00817.63
8.1.10.0000.00817.58
8.1.00.0040.00417.42
8.0.300.0000.00818.77
8.0.290.0040.00416.75
8.0.280.0070.00018.35
8.0.270.0000.00717.30
8.0.260.0070.00016.73
8.0.250.0030.00316.97
8.0.240.0080.00016.83
8.0.230.0070.00016.87
8.0.220.0040.00416.90
8.0.210.0000.00716.80
8.0.200.0000.00616.81
8.0.190.0040.00417.00
8.0.180.0030.00316.88
8.0.170.0080.00016.74
8.0.160.0030.00316.88
8.0.150.0070.00016.72
8.0.140.0000.00916.84
8.0.130.0030.00313.36
8.0.120.0060.00316.93
8.0.110.0000.00716.87
8.0.100.0000.00716.85
8.0.90.0030.00516.67
8.0.80.0120.00416.76
8.0.70.0040.00416.77
8.0.60.0020.00516.71
8.0.50.0000.00716.94
8.0.30.0090.01216.95
8.0.20.0100.01017.40
8.0.10.0000.00816.81
8.0.00.0090.00916.71
7.4.330.0050.00015.01
7.4.320.0000.00816.52
7.4.300.0030.00316.55
7.4.290.0040.00416.47
7.4.280.0000.00716.44
7.4.270.0000.00716.50
7.4.260.0000.00716.32
7.4.250.0080.00016.50
7.4.240.0040.00316.53
7.4.230.0000.00716.53
7.4.220.0170.00816.54
7.4.210.0020.01416.51
7.4.200.0040.00416.24
7.4.190.0040.00416.50
7.4.160.0060.00916.38
7.4.150.0120.00617.40
7.4.140.0090.00817.86
7.4.130.0040.01316.58
7.4.120.0140.00616.38
7.4.110.0110.00716.41
7.4.100.0100.01016.30
7.4.90.0090.00916.25
7.4.80.0040.01619.39
7.4.70.0110.00516.40
7.4.60.0030.01316.16
7.4.50.0040.00416.53
7.4.40.0110.00622.77
7.4.30.0130.00316.29
7.4.00.0080.00814.82
7.3.330.0020.00213.19
7.3.320.0000.00813.19
7.3.310.0030.00416.26
7.3.300.0040.00416.20
7.3.290.0140.00616.19
7.3.280.0130.00716.17
7.3.270.0150.00317.40
7.3.260.0100.01016.37
7.3.250.0150.00216.27
7.3.240.0100.00716.05
7.3.230.0120.00916.39
7.3.210.0130.00316.41
7.3.200.0110.00619.39
7.3.190.0080.00816.34
7.3.180.0040.01116.55
7.3.170.0090.00616.46
7.3.160.0100.00616.36
7.3.120.0050.00914.59
7.3.110.0070.01014.84
7.3.100.0070.00714.80
7.3.90.0080.00814.56
7.3.80.0080.00814.82
7.3.70.0040.00814.91
7.3.60.0000.01414.72
7.3.50.0080.00414.57
7.3.40.0110.00714.75
7.3.30.0070.00714.42
7.3.20.0090.00616.55
7.3.10.0100.00316.52
7.3.00.0030.00616.55
7.2.330.0150.00316.44
7.2.320.0100.00716.37
7.2.310.0120.00916.44
7.2.300.0120.00416.63
7.2.290.0030.01516.38
7.2.250.0090.00615.07
7.2.240.0060.01215.13
7.2.230.0060.01015.26
7.2.220.0000.01214.94
7.2.210.0080.00814.93
7.2.200.0030.01014.52
7.2.190.0070.00714.97
7.2.180.0000.01614.92
7.2.170.0060.00915.04
7.2.60.0030.00717.00
7.1.330.0090.00615.85
7.1.320.0060.00915.69
7.1.310.0070.00715.82
7.1.300.0040.00715.76
7.1.290.0030.01015.40
7.1.280.0030.01015.73
7.1.270.0040.01115.50
7.1.260.0040.00815.90
7.1.200.0070.00015.75
7.1.70.0000.00717.01
7.1.60.0060.01519.33
7.1.50.0100.00616.89
7.1.00.0000.08022.28
7.0.200.0040.00816.81
7.0.140.0070.07022.00
7.0.60.0170.07020.01
7.0.50.0070.04717.96
7.0.40.0170.07720.04
7.0.30.0130.05020.13
7.0.20.0300.07720.19
7.0.10.0070.04320.33
7.0.00.0130.05720.33
5.6.280.0030.07321.10
5.6.210.0000.05020.69
5.6.200.0070.05018.27
5.6.190.0000.05020.47
5.6.180.0230.05020.47
5.6.170.0130.04720.48
5.6.160.0100.08020.56
5.6.150.0000.05718.15
5.6.140.0100.07318.28
5.6.130.0070.03718.19
5.6.120.0000.06721.12
5.6.110.0070.08321.11
5.6.100.0070.04020.97
5.6.90.0130.07720.85
5.6.80.0070.07320.39
5.5.350.0400.06320.36
5.5.340.0030.04018.07
5.5.330.0100.08020.19
5.5.320.0330.05720.19
5.5.310.0300.07720.29
5.5.300.0070.08017.95
5.5.290.0200.06718.08
5.5.280.0070.08320.98
5.5.270.0170.06020.76
5.5.260.0030.04320.68
5.5.250.0030.04020.69
5.5.240.0130.07720.25
5.4.450.0130.06019.17
5.4.440.0930.07719.47
5.4.430.0900.05719.33
5.4.420.1130.07319.45
5.4.410.0930.08719.39
5.4.400.1000.04719.15
5.4.390.0970.06319.06
5.4.380.0130.06018.55
5.4.370.0330.04318.82
5.4.360.0370.04018.79
5.4.350.0200.05718.82
5.4.340.0230.05718.45
5.4.320.0040.03812.50
5.4.310.0030.04112.49
5.4.300.0030.03912.50
5.4.290.0080.04512.49
5.4.280.0110.04312.39
5.4.270.0040.04812.39
5.4.260.0080.03512.39
5.4.250.0050.04312.39
5.4.240.0060.03512.39
5.4.230.0040.03912.38
5.4.220.0110.04312.38
5.4.210.0100.03812.38
5.4.200.0050.04012.39
5.4.190.0120.04512.37
5.4.180.0160.04212.38
5.4.170.0190.07012.38
5.4.160.0160.04312.37
5.4.150.0160.04312.37
5.4.140.0140.04312.06
5.4.130.0170.04812.05
5.4.120.0210.06712.01
5.4.110.0170.03912.00
5.4.100.0130.04512.00
5.4.90.0140.04612.00
5.4.80.0170.04212.00
5.4.70.0190.04512.00
5.4.60.0210.03612.00
5.4.50.0140.04612.00
5.4.40.0160.04111.98
5.4.30.0120.04611.98
5.4.20.0340.08511.98
5.4.10.0160.04211.98
5.4.00.0160.04111.47
5.3.290.0050.03912.80
5.3.280.0040.04012.71
5.3.270.0170.04312.72
5.3.260.0140.04812.71
5.3.250.0140.04912.72
5.3.240.0180.04212.72
5.3.230.0120.05112.70
5.3.220.0190.04512.68
5.3.210.0160.05012.68
5.3.200.0150.04512.68
5.3.190.0220.07012.68
5.3.180.0150.04412.68
5.3.170.0160.04312.67
5.3.160.0120.04712.68
5.3.150.0160.04412.67
5.3.140.0360.08612.66
5.3.130.0190.04212.66
5.3.120.0150.04512.66
5.3.110.0170.04512.66
5.3.100.0180.04512.11
5.3.90.0200.03912.09
5.3.80.0170.04312.08
5.3.70.0270.06612.08
5.3.60.0160.04312.06
5.3.50.0200.03912.02
5.3.40.0160.04412.02
5.3.30.0130.04311.98
5.3.20.0200.03811.76
5.3.10.0140.04311.71
5.3.00.0190.03811.70
5.2.170.0230.0859.21
5.2.160.0130.0339.21
5.2.150.0140.0329.20
5.2.140.0090.0389.21
5.2.130.0100.0379.17
5.2.120.0130.0349.16
5.2.110.0100.0389.18
5.2.100.0160.0309.17
5.2.90.0130.0339.17
5.2.80.0080.0389.16
5.2.70.0120.0349.16
5.2.60.0110.0349.12
5.2.50.0150.0329.08
5.2.40.0160.0349.06
5.2.30.0120.0339.04
5.2.20.0160.0609.04
5.2.10.0130.0378.93
5.2.00.0130.0338.79
5.1.60.0110.0288.07
5.1.50.0130.0278.07
5.1.40.0090.0308.06
5.1.30.0150.0278.40
5.1.20.0140.0278.43
5.1.10.0090.0328.15
5.1.00.0100.0308.14
5.0.50.0090.0246.63
5.0.40.0110.0216.48
5.0.30.0080.0356.30
5.0.20.0110.0206.28
5.0.10.0080.0236.25
5.0.00.0090.0346.23
4.4.90.0080.0174.78
4.4.80.0050.0194.76
4.4.70.0070.0184.76
4.4.60.0090.0164.76
4.4.50.0030.0214.77
4.4.40.0070.0284.71
4.4.30.0060.0194.76
4.4.20.0070.0184.85
4.4.10.0340.0514.85
4.4.00.0040.0314.76
4.3.110.0060.0184.67
4.3.100.0080.0164.67
4.3.90.0060.0184.64
4.3.80.0060.0284.58
4.3.70.0070.0174.63
4.3.60.0070.0174.63
4.3.50.0080.0164.63
4.3.40.0050.0284.54
4.3.30.0060.0173.30
4.3.20.0090.0143.29
4.3.10.0030.0193.24
4.3.00.0000.0236.58

preferences:
49.32 ms | 401 KiB | 5 Q