3v4l.org

run code in 300+ PHP versions simultaneously
<?php class MyClass { function __construct($fix){} } new MyClass(die('Death!'));

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.70.0060.00916.63
8.3.60.0110.00416.48
8.3.50.0070.01521.29
8.3.40.0150.00018.67
8.3.30.0070.00718.67
8.3.20.0050.00320.06
8.3.10.0040.00421.86
8.3.00.0040.00420.26
8.2.190.0070.00716.73
8.2.180.0070.01416.38
8.2.170.0110.00322.96
8.2.160.0070.00720.51
8.2.150.0030.00524.18
8.2.140.0030.00524.66
8.2.130.0080.00026.16
8.2.120.0090.00017.63
8.2.110.0030.00622.08
8.2.100.0040.00817.63
8.2.90.0030.00519.17
8.2.80.0040.00417.97
8.2.70.0030.00517.50
8.2.60.0040.00417.80
8.2.50.0050.00318.07
8.2.40.0000.00819.44
8.2.30.0060.00322.46
8.2.20.0040.00417.55
8.2.10.0080.00018.04
8.2.00.0050.00218.00
8.1.280.0030.01025.92
8.1.270.0030.01623.88
8.1.260.0020.00526.35
8.1.250.0080.00028.09
8.1.240.0080.00023.96
8.1.230.0040.00817.42
8.1.220.0070.00017.74
8.1.210.0040.00418.77
8.1.200.0030.00617.23
8.1.190.0000.00817.23
8.1.180.0000.00718.10
8.1.170.0000.00918.55
8.1.160.0040.00421.86
8.1.150.0040.00418.80
8.1.140.0080.00417.33
8.1.130.0000.00717.47
8.1.120.0000.01017.23
8.1.110.0000.00717.33
8.1.100.0000.00717.34
8.1.90.0000.00817.26
8.1.80.0030.00617.29
8.1.70.0070.00017.30
8.1.60.0040.00417.47
8.1.50.0030.00517.34
8.1.40.0080.00017.39
8.1.30.0030.00517.47
8.1.20.0040.00417.54
8.1.10.0040.00417.53
8.1.00.0040.00417.40
8.0.300.0000.00818.77
8.0.290.0040.00416.63
8.0.280.0000.00718.48
8.0.270.0070.00017.06
8.0.260.0060.00017.23
8.0.250.0050.00316.99
8.0.240.0030.00316.87
8.0.230.0000.00716.79
8.0.220.0000.00716.82
8.0.210.0000.00816.80
8.0.200.0120.00016.79
8.0.190.0000.00916.84
8.0.180.0000.00816.77
8.0.170.0030.00516.78
8.0.160.0070.00016.71
8.0.150.0070.00016.80
8.0.140.0040.00416.71
8.0.130.0030.00313.19
8.0.120.0000.00716.75
8.0.110.0030.00616.85
8.0.100.0040.00416.84
8.0.90.0000.00816.71
8.0.80.0090.00916.72
8.0.70.0030.00316.82
8.0.60.0020.00616.86
8.0.50.0000.00716.88
8.0.30.0070.01117.05
8.0.20.0060.01317.40
8.0.10.0000.00716.83
8.0.00.0140.00416.88
7.4.330.0000.00515.08
7.4.320.0000.00616.38
7.4.300.0000.00716.61
7.4.290.0050.00216.46
7.4.280.0040.00416.52
7.4.270.0000.00716.45
7.4.260.0050.00216.37
7.4.250.0040.00416.49
7.4.240.0020.00516.53
7.4.230.0030.00316.54
7.4.220.0030.01416.48
7.4.210.0160.00316.42
7.4.200.0030.00316.61
7.4.160.0070.01116.31
7.4.150.0030.01317.40
7.4.140.0060.01117.86
7.4.130.0110.00816.50
7.4.120.0090.00816.50
7.4.110.0090.01216.53
7.4.100.0120.00616.34
7.4.90.0030.02016.37
7.4.80.0030.01319.39
7.4.70.0130.00316.54
7.4.60.0090.00616.53
7.4.50.0000.00816.47
7.4.40.0090.00716.55
7.4.30.0040.01416.41
7.4.00.0040.01114.91
7.3.330.0020.00213.12
7.3.320.0030.00313.11
7.3.310.0030.00316.36
7.3.300.0070.00016.25
7.3.290.0090.00716.26
7.3.280.0100.00916.25
7.3.270.0140.00417.40
7.3.260.0060.01716.27
7.3.250.0130.00316.33
7.3.240.0120.00616.51
7.3.230.0130.00716.39
7.3.210.0070.01016.36
7.3.200.0100.01016.36
7.3.190.0040.01216.39
7.3.180.0060.00916.34
7.3.170.0130.00816.34
7.3.160.0120.00316.29
7.3.10.0100.00716.49
7.3.00.0080.00816.21
7.2.330.0200.00016.69
7.2.320.0060.01216.59
7.2.310.0120.00616.56
7.2.300.0120.00616.52
7.2.290.0120.00616.32
7.2.130.0100.00916.39
7.2.120.0070.00916.61
7.2.110.0110.00716.54
7.2.100.0070.01216.24
7.2.90.0130.00716.50
7.2.80.0070.00916.67
7.2.70.0110.00316.49
7.2.60.0090.00516.65
7.2.50.0090.00516.56
7.2.40.0080.00816.50
7.2.30.0130.00416.34
7.2.20.0150.00516.55
7.2.10.0030.01216.47
7.2.00.0110.00517.70
7.1.250.0110.00615.33
7.1.200.0030.01015.61
7.1.100.0060.00617.96
7.1.70.0000.00717.25
7.1.60.0170.00719.29
7.1.50.0060.01616.96
7.1.00.0100.07022.45
7.0.200.0000.00816.74
7.0.60.0130.05719.78
7.0.50.0100.04717.87
7.0.40.0070.04320.20
7.0.30.0330.07320.11
7.0.20.0170.06020.08
7.0.10.0000.04720.24
7.0.00.0130.08320.26
5.6.280.0030.05020.78
5.6.210.0100.06320.69
5.6.200.0070.03718.23
5.6.190.0070.08720.46
5.6.180.0230.08320.47
5.6.170.0370.06720.61
5.6.160.0070.03720.48
5.6.150.0070.08018.18
5.6.140.0070.07018.21
5.6.130.0100.07718.28
5.6.120.0200.07021.01
5.6.110.0230.06721.10
5.6.100.0070.03721.09
5.6.90.0230.07020.98
5.6.80.0170.07320.38
5.5.350.0270.08020.35
5.5.340.0030.07017.99
5.5.330.0070.08720.18
5.5.320.0200.03720.24
5.5.310.0230.04020.19
5.5.300.0030.05018.07
5.5.290.0100.07018.03
5.5.280.0070.08720.90
5.5.270.0070.04020.96
5.5.260.0200.07320.76
5.5.250.0000.08720.64
5.5.240.0000.03320.29
5.4.450.0800.05719.72
5.4.440.0700.06719.32
5.4.430.0800.06019.57
5.4.420.0800.06719.33
5.4.410.0830.05019.34
5.4.400.0470.05319.11
5.4.390.0070.05718.97
5.4.380.0400.05718.82
5.4.370.0870.05719.14
5.4.360.0970.04019.36
5.4.350.0730.06319.05
5.4.340.0970.08019.37
5.4.320.0930.05718.84
5.4.310.0900.05319.36
5.4.300.0830.05019.04
5.4.290.0900.05718.97
5.4.280.0900.05018.83
5.4.270.0800.05719.27
5.4.260.0830.05018.86
5.4.250.0700.06718.98
5.4.240.0830.05718.86
5.4.230.0870.08019.27
5.4.220.0870.05719.24
5.4.210.0870.05718.86
5.4.200.0870.04019.36
5.4.190.0730.07019.13
5.4.180.1030.05719.36
5.4.170.0800.04718.82
5.4.160.0630.05319.20
5.4.150.0700.05318.84
5.4.140.0800.04716.57
5.4.130.0700.05716.36
5.4.120.0830.05016.31
5.4.110.0770.05716.52
5.4.100.0870.06316.62
5.4.90.0730.05716.45
5.4.80.0770.05716.44
5.4.70.0000.03716.44
5.4.60.0330.06016.43
5.4.50.0300.06016.48
5.4.40.0170.03316.43
5.4.30.0000.07016.42
5.4.20.0070.04016.47
5.4.10.0270.05716.52

preferences:
31.79 ms | 401 KiB | 5 Q