3v4l.org

run code in 300+ PHP versions simultaneously
<?php function test() { try { throw new Exception('foo'); } catch (Exception $e) { return 'catch'; } finally { return 'finally'; } } echo test();

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.0040.01116.75
8.3.50.0130.00716.47
8.3.40.0080.01122.02
8.3.30.0110.00418.81
8.3.20.0070.00024.18
8.3.10.0060.00724.13
8.3.00.0100.00522.55
8.2.180.0140.00325.92
8.2.170.0090.00618.96
8.2.160.0070.01022.96
8.2.150.0040.00425.66
8.2.140.0090.00423.48
8.2.130.0100.00422.96
8.2.120.0080.00720.77
8.2.110.0080.00420.72
8.2.100.0170.00319.30
8.2.90.0170.00419.10
8.2.80.0090.01019.61
8.2.70.0160.00519.16
8.2.60.0150.00519.24
8.2.50.0150.00519.16
8.2.40.0110.00719.60
8.2.30.0130.00518.80
8.2.20.0110.00418.78
8.2.10.0130.00418.96
8.2.00.0130.00318.91
8.1.280.0150.00325.92
8.1.270.0040.00323.95
8.1.260.0050.00324.74
8.1.250.0050.00325.32
8.1.240.0050.00320.49
8.1.230.0080.00519.90
8.1.220.0110.00519.12
8.1.210.0130.00419.24
8.1.200.0120.00619.06
8.1.190.0100.00619.06
8.1.180.0130.00319.11
8.1.170.0130.00319.17
8.1.160.0090.00418.77
8.1.150.0110.00518.71
8.1.140.0080.00818.48
8.1.130.0100.00518.72
8.1.120.0120.00518.42
8.1.110.0130.00518.35
8.1.100.0120.00418.60
8.1.90.0100.00518.57
8.1.80.0100.00618.57
8.1.70.0110.00618.61
8.1.60.0130.00418.67
8.1.50.0140.00318.61
8.1.40.0110.00618.67
8.1.30.0150.00418.69
8.1.20.0120.00418.50
8.1.10.0110.00718.65
8.1.00.0140.00518.60
8.0.300.0130.00519.56
8.0.290.0150.00517.82
8.0.280.0130.00317.79
8.0.270.0090.00718.26
8.0.260.0120.00417.88
8.0.250.0110.00518.14
8.0.240.0120.00617.70
8.0.230.0150.00317.71
8.0.220.0130.00317.66
8.0.210.0120.00317.84
8.0.200.0120.00417.93
8.0.190.0100.00518.13
8.0.180.0120.00418.10
8.0.170.0150.00517.69
8.0.160.0120.00318.11
8.0.150.0120.00417.88
8.0.140.0130.00517.68
8.0.130.0130.00317.50
8.0.120.0130.00417.21
8.0.110.0100.00517.61
8.0.100.0120.00417.39
8.0.90.0130.00417.20
8.0.80.0110.00517.33
8.0.70.0090.00717.39
8.0.60.0130.00317.21
8.0.50.0110.00617.21
8.0.30.0110.00517.38
8.0.20.0140.00417.43
8.0.10.0130.00517.50
8.0.00.0120.00417.63
7.4.330.0110.00416.55
7.4.320.0140.00617.41
7.4.300.0140.00517.46
7.4.290.0130.00517.45
7.4.280.0150.00317.47
7.4.270.0120.00517.46
7.4.260.0150.00317.04
7.4.250.0120.00516.99
7.4.240.0130.00617.04
7.4.230.0140.00416.98
7.4.220.0110.00616.95
7.4.210.0110.00516.91
7.4.200.0100.00517.13
7.4.190.0120.00517.03
7.4.180.0150.00617.03
7.4.160.0130.00517.03
7.4.150.0150.00516.92
7.4.140.0130.00616.90
7.4.130.0120.00616.86
7.4.120.0120.00516.86
7.4.110.0140.00416.86
7.4.100.0140.00616.80
7.4.90.0130.00716.39
7.4.80.0140.00716.77
7.4.70.0140.00616.70
7.4.60.0160.00616.73
7.4.50.0150.00716.73
7.4.40.0150.00516.73
7.4.30.0150.00616.75
7.4.20.0160.00616.74
7.4.10.0180.00516.75
7.4.00.0120.00816.69
7.3.330.0140.00617.30
7.3.320.0150.00516.98
7.3.310.0160.00416.86
7.3.300.0140.00516.91
7.3.290.0150.00516.75
7.3.280.0160.00516.77
7.3.270.0160.00416.83
7.3.260.0140.00516.78
7.3.250.0130.00416.78
7.3.240.0130.00716.82
7.3.230.0140.00616.79
7.3.220.0160.00716.70
7.3.210.0150.00916.72
7.3.200.0170.00616.70
7.3.190.0170.00616.69
7.3.180.0180.00516.67
7.3.170.0140.00816.78
7.3.160.0140.00816.69
7.3.150.0170.00616.66
7.3.140.0160.00616.65
7.3.130.0150.00716.73
7.3.120.0160.00616.68
7.3.110.0160.00616.66
7.3.100.0180.00616.64
7.3.90.0170.00516.79
7.3.80.0160.00616.66
7.3.70.0140.00816.68
7.3.60.0150.00716.74
7.3.50.0150.00716.72
7.3.40.0160.00516.73
7.3.30.0140.00916.72
7.3.20.0180.00617.07
7.3.10.0160.00617.06
7.3.00.0160.00617.02
7.2.340.0170.00516.88
7.2.330.0180.00516.75
7.2.320.0140.00716.79
7.2.310.0140.00716.77
7.2.300.0160.00616.86
7.2.290.0150.00716.88
7.2.280.0140.00716.87
7.2.270.0160.00416.73
7.2.260.0150.00516.86
7.2.250.0130.00616.68
7.2.240.0140.00616.90
7.2.230.0140.00716.69
7.2.220.0140.00716.86
7.2.210.0140.00716.71
7.2.200.0130.00816.86
7.2.190.0160.00516.89
7.2.180.0150.00616.82
7.2.170.0160.00516.87
7.2.160.0140.00616.82
7.2.150.0140.00817.21
7.2.140.0140.00617.21
7.2.130.0150.00617.24
7.2.120.0150.00617.23
7.2.110.0130.00717.25
7.2.100.0200.00817.24
7.2.90.0140.00617.21
7.2.80.0130.00717.21
7.2.70.0190.00617.21
7.2.60.0120.00717.21
7.2.50.0140.00517.24
7.2.40.0160.00717.25
7.2.30.0140.00617.24
7.2.20.0130.00617.24
7.2.10.0130.00717.25
7.2.00.0160.00517.26

preferences:
57.1 ms | 400 KiB | 5 Q