3v4l.org

run code in 300+ PHP versions simultaneously
<?php class C { public function __destruct() { throw new Exception('Bye!'); } } new C;

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.0170.00016.75
8.3.50.0150.00716.51
8.3.40.0150.00018.68
8.3.30.0180.00018.74
8.3.20.0040.00418.60
8.3.10.0080.00020.64
8.3.00.0050.00319.50
8.2.180.0110.00418.29
8.2.170.0120.00322.96
8.2.160.0030.01722.21
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0040.00719.02
8.2.110.0060.00319.38
8.2.100.0040.00817.72
8.2.90.0030.00517.84
8.2.80.0050.00517.97
8.2.70.0040.00417.50
8.2.60.0040.00417.63
8.2.50.0030.00517.55
8.2.40.0000.00821.07
8.2.30.0040.00419.09
8.2.20.0000.00717.52
8.2.10.0040.00417.71
8.2.00.0060.00317.77
8.1.280.0100.00725.92
8.1.270.0000.00824.66
8.1.260.0040.00426.35
8.1.250.0060.00928.09
8.1.240.0090.00022.14
8.1.230.0120.00020.82
8.1.220.0000.00817.74
8.1.210.0000.00818.98
8.1.200.0040.00417.22
8.1.190.0000.00717.22
8.1.180.0000.00818.10
8.1.170.0030.00618.52
8.1.160.0000.00818.70
8.1.150.0030.00518.44
8.1.140.0080.00017.44
8.1.130.0030.00317.63
8.1.120.0000.00717.37
8.1.110.0040.00417.43
8.1.100.0000.00717.27
8.1.90.0070.00017.36
8.1.80.0000.00717.45
8.1.70.0070.00017.34
8.1.60.0040.00417.52
8.1.50.0080.00017.43
8.1.40.0080.00017.47
8.1.30.0050.00317.56
8.1.20.0040.00417.60
8.1.10.0030.00617.57
8.1.00.0070.00017.32
8.0.300.0050.00220.07
8.0.290.0070.00016.75
8.0.280.0050.00218.29
8.0.270.0030.00517.18
8.0.260.0030.00316.84
8.0.250.0060.00316.96
8.0.240.0030.00316.98
8.0.230.0040.00416.98
8.0.220.0000.00816.84
8.0.210.0040.00416.77
8.0.200.0030.00316.93
8.0.190.0000.00716.91
8.0.180.0000.00716.91
8.0.170.0040.00416.88
8.0.160.0000.00716.80
8.0.150.0030.00616.94
8.0.140.0000.00816.96
8.0.130.0000.00513.37
8.0.120.0070.00016.96
8.0.110.0030.00317.05
8.0.100.0000.00816.84
8.0.90.0000.00816.96
8.0.80.0080.00817.00
8.0.70.0040.00416.79
8.0.60.0040.00416.90
8.0.50.0040.00416.84
8.0.30.0110.00716.93
8.0.20.0080.01217.04
8.0.10.0030.00516.85
8.0.00.0120.00716.73
7.4.330.0050.00012.97
7.4.320.0070.00016.37
7.4.300.0060.00016.57
7.4.290.0040.00416.54
7.4.280.0080.00016.51
7.4.270.0040.00416.47
7.4.260.0000.00613.31
7.4.250.0030.00516.50
7.4.240.0070.00016.43
7.4.230.0070.00016.28
7.4.220.0070.01116.52
7.4.210.0080.00816.50
7.4.200.0040.00416.64
7.4.190.0000.00716.48
7.4.160.0080.00816.64
7.4.150.0090.00916.34
7.4.140.0090.01116.43
7.4.130.0110.01116.46
7.4.120.0100.00616.36
7.4.110.0100.00716.55
7.4.100.0080.00816.41
7.4.90.0110.01416.36
7.4.80.0030.01319.39
7.4.70.0060.01116.41
7.4.60.0060.01216.63
7.4.50.0070.00716.16
7.4.40.0060.00916.45
7.4.30.0070.00716.57
7.4.00.0080.00814.75
7.3.330.0030.00313.21
7.3.320.0020.00313.36
7.3.310.0030.00316.35
7.3.300.0000.00716.35
7.3.290.0110.00416.34
7.3.280.0090.00916.36
7.3.270.0100.00716.33
7.3.260.0180.00016.39
7.3.250.0120.00816.39
7.3.240.0130.00316.35
7.3.230.0140.00316.58
7.3.210.0090.00616.29
7.3.200.0130.00316.55
7.3.190.0090.01016.38
7.3.180.0060.01016.59
7.3.170.0060.00916.38
7.3.160.0120.01216.59
7.3.120.0050.00914.90
7.3.110.0080.01014.99
7.3.100.0050.00714.63
7.3.90.0120.00314.94
7.3.80.0070.00614.68
7.3.70.0040.00914.89
7.3.60.0060.00814.87
7.3.50.0090.00314.59
7.3.40.0060.00614.69
7.3.30.0080.00814.81
7.3.20.0020.01016.60
7.3.10.0050.00816.40
7.3.00.0020.01216.53
7.2.330.0030.01516.33
7.2.320.0110.00616.32
7.2.310.0160.00616.59
7.2.300.0130.00416.53
7.2.290.0090.00616.35
7.2.250.0050.01015.01
7.2.240.0060.01314.89
7.2.230.0050.01314.81
7.2.220.0090.00514.71
7.2.210.0020.01115.00
7.2.200.0060.00814.94
7.2.190.0030.01014.71
7.2.180.0100.00514.76
7.2.170.0020.01414.84
7.2.60.0000.01116.73
7.1.330.0060.00815.78
7.1.320.0070.00515.72
7.1.310.0030.01215.72
7.1.300.0040.01115.69
7.1.290.0080.00615.80
7.1.280.0020.00915.73
7.1.270.0030.01315.67
7.1.260.0080.00915.74
7.1.200.0110.00415.61
7.1.70.0040.00417.09
7.1.60.0030.02019.40
7.1.50.0060.00616.82
7.1.00.0070.07322.33
7.0.200.0370.00714.81
7.0.140.0030.07022.06
7.0.120.0030.07322.25
7.0.60.0170.06719.89
7.0.50.0030.07717.95
7.0.40.0030.09020.21
7.0.30.0270.04320.23
7.0.20.0300.06720.10
7.0.10.0000.05320.19
7.0.00.0070.08320.06
5.6.280.0130.06321.12
5.6.210.0100.08720.59
5.6.200.0070.08318.25
5.6.190.0030.04720.61
5.6.180.0500.07020.64
5.6.170.0200.04720.50
5.6.160.0130.07320.49
5.6.150.0070.08318.29
5.6.140.0130.07718.18
5.6.130.0000.05718.13
5.6.120.0170.07321.15
5.6.110.0070.08321.13
5.6.100.0170.07721.11
5.6.90.0030.05320.98
5.6.80.0030.04720.39
5.5.350.0230.07720.43
5.5.340.0030.04018.07
5.5.330.0070.06720.41
5.5.320.0370.08020.30
5.5.310.0230.07020.30
5.5.300.0100.06717.98
5.5.290.0170.06317.95
5.5.280.0070.03720.87
5.5.270.0000.04720.78
5.5.260.0100.03720.80
5.5.250.0070.08320.50
5.5.240.0000.04020.12
5.4.450.0000.04019.20
5.4.440.0000.04719.18
5.4.430.0000.04019.57
5.4.420.0030.03719.52
5.4.410.0000.04019.43
5.4.400.0030.03719.09
5.4.390.0030.03719.15
5.4.380.0000.04019.15
5.4.370.0030.04019.16
5.4.360.0070.05319.21
5.4.350.0070.05318.85
5.4.340.0100.07019.15
5.4.320.0030.08019.25
5.4.310.0100.07319.08
5.4.300.0170.06718.87
5.4.290.0070.07319.14
5.4.280.0200.06719.14
5.4.270.0170.05719.00
5.4.260.0100.07319.23
5.4.250.0100.05318.86
5.4.240.0100.05719.15
5.4.230.0100.05318.97
5.4.220.0030.04318.84
5.4.210.0100.03318.84
5.4.200.0070.07319.14
5.4.190.0100.05719.10
5.4.180.0070.07719.13
5.4.170.0100.06319.19
5.4.160.0300.03018.95
5.4.150.0030.04718.83
5.4.140.0100.03716.30
5.4.130.0200.05016.41
5.4.120.0000.07716.30
5.4.110.0030.05016.37
5.4.100.0130.06316.30
5.4.90.0070.05016.43
5.4.80.0070.04716.29
5.4.70.0130.07016.39
5.4.60.0070.07016.25
5.4.50.0070.07016.40
5.4.40.0030.03716.28
5.4.30.0070.03316.40
5.4.20.0070.07316.42
5.4.10.0070.06316.42
5.4.00.0070.06315.80
5.3.290.0000.05314.69
5.3.280.0070.07314.63
5.3.270.0070.06314.64
5.3.260.0070.07314.52
5.3.250.0030.07314.49
5.3.240.0130.06714.61
5.3.230.0070.07714.59
5.3.220.0100.05314.72
5.3.210.0130.06714.56
5.3.200.0030.04714.63
5.3.190.0000.04714.60
5.3.180.0070.06714.62
5.3.170.0070.07714.72
5.3.160.0100.04714.60
5.3.150.0030.07314.55
5.3.140.0070.06714.61
5.3.130.0070.03714.60
5.3.120.0000.04714.56
5.3.110.0030.04014.43
5.3.100.0100.05314.03
5.3.90.0030.04314.03
5.3.80.0100.07014.07
5.3.70.0030.07014.07
5.3.60.0030.05013.95
5.3.50.0130.06713.83
5.3.40.0130.06713.84
5.3.30.0070.05013.96
5.3.20.0000.04313.76
5.3.10.0100.04713.71
5.3.00.0070.05313.65
5.2.170.0070.05311.18
5.2.160.0000.06711.30
5.2.150.0000.04011.17
5.2.140.0070.06311.22
5.2.130.0070.06011.18
5.2.120.0030.04011.27
5.2.110.0070.06311.16
5.2.100.0030.05011.11
5.2.90.0000.03011.07
5.2.80.0100.06011.24
5.2.70.0100.05311.25
5.2.60.0030.04010.94
5.2.50.0100.06011.02
5.2.40.0070.06011.16
5.2.30.0070.03010.93
5.2.20.0100.02311.01
5.2.10.0000.06010.88
5.2.00.0070.06710.68
5.1.60.0070.0509.99
5.1.50.0000.0609.99
5.1.40.0070.05010.04
5.1.30.0030.03310.50
5.1.20.0000.03010.35
5.1.10.0030.03310.14
5.1.00.0030.04010.06
5.0.50.0000.0438.59
5.0.40.0000.0438.52
5.0.30.0030.0738.28
5.0.20.0000.0438.20
5.0.10.0070.0278.19
5.0.00.0030.0678.06
4.4.90.0000.0407.99
4.4.80.0030.0207.99
4.4.70.0070.0337.99
4.4.60.0070.0337.99
4.4.50.0030.0337.99
4.4.40.0000.0307.99
4.4.30.0000.0337.99
4.4.20.0070.0277.99
4.4.10.0000.0407.99
4.4.00.0030.0507.99
4.3.110.0030.0277.99
4.3.100.0000.0237.99
4.3.90.0070.0177.99
4.3.80.0070.0537.99
4.3.70.0100.0307.99
4.3.60.0000.0377.99
4.3.50.0030.0377.99
4.3.40.0000.0537.99
4.3.30.0030.0337.99
4.3.20.0000.0407.99
4.3.10.0000.0337.99
4.3.00.0030.0337.99

preferences:
47.78 ms | 401 KiB | 5 Q