3v4l.org

run code in 500+ PHP versions simultaneously
<?php try { throw new RuntimeException("test"); } catch (RuntimeException $r) {} echo $r::class;

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.5.30.0130.00419.59
8.5.20.0070.01120.02
8.5.10.0120.00519.69
8.5.00.0120.01019.86
8.4.180.0120.01219.72
8.4.170.0150.00620.53
8.4.160.0160.00821.60
8.4.150.0040.00316.96
8.4.140.0160.00517.54
8.4.130.0070.01317.93
8.4.120.0130.00723.94
8.4.110.0120.00822.38
8.4.100.0130.00618.69
8.4.90.0060.00218.62
8.4.80.0110.00918.69
8.4.70.0070.00617.81
8.4.60.0120.00818.93
8.4.50.0110.01018.49
8.4.40.0150.00420.61
8.4.30.0060.01324.07
8.4.20.0130.00619.93
8.4.10.0090.00621.85
8.3.300.0130.00720.66
8.3.290.0160.00720.63
8.3.280.0110.01018.27
8.3.270.0130.01116.52
8.3.260.0130.00616.69
8.3.250.0110.00719.05
8.3.240.0090.00717.16
8.3.230.0090.01018.79
8.3.220.0040.00418.76
8.3.210.0070.01216.81
8.3.200.0030.00516.85
8.3.190.0120.00718.93
8.3.180.0090.01016.99
8.3.170.0040.01418.95
8.3.160.0070.00717.20
8.3.150.0110.00417.23
8.3.140.0120.00316.41
8.3.130.0030.00618.32
8.3.120.0070.01020.63
8.3.110.0090.00020.94
8.3.100.0090.00018.44
8.3.90.0080.00026.77
8.3.80.0050.00518.43
8.3.70.0090.01216.60
8.3.60.0090.00616.50
8.3.50.0070.01416.79
8.3.40.0000.01723.69
8.3.30.0070.00718.65
8.3.20.0070.00024.18
8.3.10.0040.00424.66
8.3.00.0060.00326.16
8.2.300.0090.01122.23
8.2.290.0110.00320.68
8.2.280.0110.01018.53
8.2.270.0180.00017.24
8.2.260.0060.00916.45
8.2.250.0080.00018.38
8.2.240.0060.00319.05
8.2.230.0090.00022.58
8.2.220.0060.00924.06
8.2.210.0000.00826.77
8.2.200.0060.00318.40
8.2.190.0090.00616.58
8.2.180.0040.01116.63
8.2.170.0100.00719.05
8.2.160.0090.00622.96
8.2.150.0070.00025.66
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0080.00019.79
8.2.110.0060.00320.57
8.2.100.0120.00017.91
8.2.90.0040.00418.03
8.2.80.0040.00420.57
8.2.70.0050.00317.50
8.2.60.0160.00417.25
8.2.50.0080.01117.25
8.2.40.0120.00417.25
8.2.30.0120.00317.38
8.2.20.0120.00317.38
8.2.10.0120.00417.23
8.2.00.0100.00517.38
8.1.340.0110.01017.80
8.1.330.0110.00822.02
8.1.320.0130.00616.04
8.1.310.0060.00318.51
8.1.300.0130.00618.28
8.1.290.0040.00430.84
8.1.280.0090.00625.92
8.1.270.0000.00724.66
8.1.260.0070.00026.35
8.1.250.0060.00328.09
8.1.240.0090.00023.92
8.1.230.0070.00420.99
8.1.220.0050.00217.79
8.1.210.0080.00018.79
8.1.200.0040.00417.35
8.1.190.0000.01517.25
8.1.180.0050.01016.98
8.1.170.0130.00317.11
8.1.160.0120.00317.13
8.1.150.0100.00717.25
8.1.140.0120.00916.97
8.1.130.0140.00316.88
8.1.120.0140.00517.10
8.1.110.0080.00817.25
8.1.100.0130.00317.36
8.1.90.0160.00017.38
8.1.80.0180.00017.13
8.1.70.0130.00416.97
8.1.60.0160.00317.35
8.1.50.0130.00417.34
8.1.40.0110.00717.50
8.1.30.0120.00617.38
8.1.20.0050.01417.50
8.1.10.0150.00417.25
8.1.00.0120.00617.23
8.0.300.0000.00820.20
8.0.290.0070.00016.75
8.0.280.0100.00616.52
8.0.270.0070.01016.52
8.0.260.0050.01116.75
8.0.250.0040.01216.75
8.0.240.0080.00816.52
8.0.230.0100.00516.52
8.0.220.0130.00316.52
8.0.210.0170.00016.52
8.0.200.0130.00316.62
8.0.190.0130.00316.63
8.0.180.0160.00316.63
8.0.170.0130.00316.75
8.0.160.0140.00316.72
8.0.150.0090.00916.59
8.0.140.0180.00016.75
8.0.130.0090.00916.52
8.0.120.0120.00616.52
8.0.110.0050.01016.72
8.0.100.0160.00016.52
8.0.90.0120.00416.52
8.0.80.0150.00216.75
8.0.70.0110.00516.52
8.0.60.0100.00516.63
8.0.50.0080.00816.73
8.0.30.0160.00016.63
8.0.20.0110.00516.63
8.0.10.0120.00316.63

preferences:
64.81 ms | 1096 KiB | 5 Q