3v4l.org

run code in 300+ PHP versions simultaneously
<?php try { echo "trying"; die; } catch(Exception $e) { echo "caught"; } finally { echo "finally"; } echo "end";

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.4.20.0160.00319.79
8.4.10.0090.01219.63
8.3.150.0110.00720.54
8.3.140.0040.00416.54
8.3.130.0030.00618.60
8.3.120.0040.00418.78
8.3.110.0000.00820.94
8.3.100.0040.00424.06
8.3.90.0040.00426.77
8.3.80.0030.00618.56
8.3.70.0130.00916.63
8.3.60.0160.00616.75
8.3.50.0080.01324.38
8.3.40.0140.00320.14
8.3.30.0120.00318.60
8.3.20.0110.00724.18
8.3.10.0150.00324.66
8.3.00.0130.00626.16
8.2.260.0090.00920.33
8.2.250.0050.00218.59
8.2.240.0050.00316.87
8.2.230.0050.00522.58
8.2.220.0090.00637.54
8.2.210.0070.00026.77
8.2.200.0030.00618.29
8.2.190.0100.01018.16
8.2.180.0130.00325.92
8.2.170.0090.00918.91
8.2.160.0120.00922.96
8.2.150.0140.00425.66
8.2.140.0090.00924.66
8.2.130.0080.00026.16
8.2.120.0030.00620.89
8.2.110.0060.00320.63
8.2.100.0080.00319.27
8.2.90.0080.00719.81
8.2.80.0070.00318.39
8.2.70.0060.00518.23
8.2.60.0030.00518.41
8.2.50.0060.00818.33
8.2.40.0090.00618.51
8.2.30.0100.00018.37
8.2.20.0080.00918.41
8.2.10.0100.00519.07
8.2.00.0040.00419.06
8.1.310.0040.01116.87
8.1.300.0150.00018.55
8.1.290.0060.00330.84
8.1.280.0140.00725.92
8.1.270.0040.00424.66
8.1.260.0090.00026.35
8.1.250.0070.00028.09
8.1.240.0100.00520.71
8.1.230.0110.00718.16
8.1.220.0060.00818.12
8.1.210.0110.00319.30
8.1.200.0060.00917.96
8.1.190.0060.00917.72
8.1.180.0080.00218.29
8.1.170.0100.00618.61
8.1.160.0120.00518.75
8.1.150.0040.00519.57
8.1.140.0080.00518.61
8.1.130.0050.00919.25
8.1.120.0060.00317.93
8.1.110.0080.00217.98
8.1.100.0070.00817.95
8.1.90.0040.00917.87
8.1.80.0090.00317.84
8.1.70.0060.00418.01
8.1.60.0100.00318.02
8.1.50.0070.00218.07
8.1.40.0030.00718.19
8.1.30.0020.00718.34
8.1.20.0030.00618.15
8.1.10.0070.00218.04
8.1.00.0110.00518.02
8.0.300.0030.00518.36
8.0.290.0010.00717.29
8.0.280.0050.00318.13
8.0.270.0060.00218.00
8.0.260.0070.00719.03
8.0.250.0050.00317.39
8.0.240.0040.00617.38
8.0.230.0040.00417.52
8.0.220.0060.00217.31
8.0.210.0050.00317.30
8.0.200.0040.00417.42
8.0.190.0060.00317.39
8.0.180.0060.00517.37
8.0.170.0040.00517.41
8.0.160.0060.00417.38
8.0.150.0070.00217.36
8.0.140.0050.00517.35
8.0.130.0040.00415.59
8.0.120.0030.00517.28
8.0.110.0000.00817.38
8.0.100.0060.00317.24
8.0.90.0050.00517.26
8.0.80.0080.00617.15
8.0.70.0050.00317.37
8.0.60.0050.00217.39
8.0.50.0060.00217.39
8.0.30.0070.00517.48
8.0.20.0100.00818.37
8.0.10.0040.00418.33
8.0.00.0100.00718.34
7.4.330.0040.00214.87
7.4.320.0050.00316.87
7.4.300.0060.00216.90
7.4.290.0060.00216.95
7.4.280.0040.00416.88
7.4.270.0030.00516.88
7.4.260.0040.00415.22
7.4.250.0040.00416.77
7.4.240.0020.00616.72
7.4.230.0040.00416.93
7.4.220.0060.00616.70
7.4.210.0060.00716.61
7.4.200.0060.00216.91
7.4.190.0040.00417.49
7.4.180.0100.01017.38
7.4.160.0060.00317.50
7.4.150.0090.00317.34
7.4.140.0120.00617.28
7.4.130.0100.00816.72
7.4.120.0080.00816.83
7.4.110.0110.00916.61
7.4.100.0150.00816.46
7.4.90.0150.00816.56
7.4.80.0160.00717.26
7.4.70.0150.00516.69
7.4.60.0110.01216.52
7.4.50.0190.00616.56
7.4.40.0150.01216.49
7.4.30.0170.00816.58
7.4.20.0150.00716.61
7.4.10.0180.00716.53
7.4.00.0120.00516.57
7.3.330.0000.00816.60
7.3.320.0100.00215.05
7.3.310.0110.00216.65
7.3.300.0070.00516.75
7.3.290.0100.00816.46
7.3.280.0080.00816.63
7.3.270.0120.00617.36
7.3.260.0120.00716.82
7.3.250.0150.00417.13
7.3.240.0140.00516.68
7.3.230.0110.00916.43
7.3.220.0130.00616.47
7.3.210.0110.00716.40
7.3.200.0160.00616.58
7.3.190.0120.00716.39
7.3.180.0190.00516.46
7.3.170.0100.00716.43
7.3.160.0160.00816.45
7.3.150.0110.01016.42
7.3.140.0120.00916.36
7.3.130.0110.01016.48
7.3.120.0120.01116.49
7.3.110.0160.00916.49
7.3.100.0160.01116.39
7.3.90.0160.00916.29
7.3.80.0130.01016.38
7.3.70.0210.00716.33
7.3.60.0210.00616.45
7.3.50.0170.00916.32
7.3.40.0180.00616.36
7.3.30.0180.00716.37
7.3.20.0150.01016.80
7.3.10.0190.00816.89
7.3.00.0110.01016.80
7.2.340.0160.00517.48
7.2.330.0130.01116.54
7.2.320.0170.00916.63
7.2.310.0200.00816.63
7.2.300.0180.00716.57
7.2.290.0110.01016.63
7.2.280.0080.01216.51
7.2.270.0160.00816.60
7.2.260.0120.00916.58
7.2.250.0110.00916.62
7.2.240.0130.00616.48
7.2.230.0120.00816.50
7.2.220.0110.00916.47
7.2.210.0150.01016.64
7.2.200.0130.01116.62
7.2.190.0100.01016.68
7.2.180.0130.00716.44
7.2.170.0120.00716.47
7.2.160.0110.00716.58
7.2.150.0120.01017.06
7.2.140.0150.01017.11
7.2.130.0200.00717.04
7.2.120.0140.01016.99
7.2.110.0160.00917.20
7.2.100.0190.00617.12
7.2.90.0180.00816.93
7.2.80.0150.01017.01
7.2.70.0190.00916.78
7.2.60.0150.00817.10
7.2.50.0110.01117.04
7.2.40.0140.00717.14
7.2.30.0200.00817.04
7.2.20.0130.00617.12
7.2.10.0200.00916.96
7.2.00.0160.00617.10

preferences:
68.54 ms | 403 KiB | 5 Q