3v4l.org

run code in 300+ PHP versions simultaneously
<?php try { $a = 1; } finally { $a = 2; } echo $a;

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.130.0040.00418.41
8.3.120.0090.00020.87
8.3.110.0000.00820.94
8.3.100.0070.00318.33
8.3.90.0080.00016.56
8.3.80.0070.00418.15
8.3.70.0110.01118.04
8.3.60.0110.00416.48
8.3.50.0120.00522.08
8.3.40.0040.01518.63
8.3.30.0120.00318.96
8.3.20.0030.00520.02
8.3.10.0040.00423.53
8.3.00.0080.00019.26
8.2.250.0000.00819.06
8.2.240.0040.01116.95
8.2.230.0040.00422.58
8.2.220.0100.00024.06
8.2.210.0040.00426.77
8.2.200.0060.00318.41
8.2.190.0090.00616.60
8.2.180.0110.00718.29
8.2.170.0120.00322.96
8.2.160.0070.00719.16
8.2.150.0000.00724.18
8.2.140.0000.00724.66
8.2.130.0000.01826.16
8.2.120.0070.00022.26
8.2.110.0060.00319.45
8.2.100.0090.00317.66
8.2.90.0040.00417.75
8.2.80.0040.00418.61
8.2.70.0040.00417.63
8.2.60.0060.00317.50
8.2.50.0080.00017.63
8.2.40.0080.00021.23
8.2.30.0040.00419.96
8.2.20.0040.00417.71
8.2.10.0000.00717.99
8.2.00.0070.00317.84
8.1.300.0050.00517.93
8.1.290.0060.00318.88
8.1.280.0150.00325.92
8.1.270.0080.00023.66
8.1.260.0080.00026.35
8.1.250.0030.00528.09
8.1.240.0080.00322.49
8.1.230.0040.00720.89
8.1.220.0080.00018.69
8.1.210.0080.00018.77
8.1.200.0040.00417.52
8.1.190.0050.00317.35
8.1.180.0030.00518.10
8.1.170.0080.00020.37
8.1.160.0070.00021.93
8.1.150.0070.00018.55
8.1.140.0030.00617.28
8.1.130.0030.00318.72
8.1.120.0050.00317.40
8.1.110.0000.00717.36
8.1.100.0030.00317.29
8.1.90.0040.00417.45
8.1.80.0070.00017.29
8.1.70.0000.00717.29
8.1.60.0050.00317.51
8.1.50.0050.00317.45
8.1.40.0050.00317.38
8.1.30.0000.00817.45
8.1.20.0040.00417.57
8.1.10.0040.00417.40
8.1.00.0030.00517.46
8.0.300.0070.00018.77
8.0.290.0040.00416.75
8.0.280.0070.00018.43
8.0.270.0050.00217.18
8.0.260.0030.00318.43
8.0.250.0040.00416.99
8.0.240.0040.00416.94
8.0.230.0000.00716.81
8.0.220.0030.00316.82
8.0.210.0050.00316.83
8.0.200.0070.00016.77
8.0.190.0040.00416.77
8.0.180.0090.00016.85
8.0.170.0000.00816.84
8.0.160.0030.00316.77
8.0.150.0070.00016.71
8.0.140.0000.00716.76
8.0.130.0030.00313.26
8.0.120.0040.00416.69
8.0.110.0000.00816.80
8.0.100.0050.00316.76
8.0.90.0000.00716.85
8.0.80.0090.01216.75
8.0.70.0040.00416.68
8.0.60.0040.00416.88
8.0.50.0040.00416.72
8.0.30.0130.00717.19
8.0.20.0100.00717.40
8.0.10.0000.00817.01
8.0.00.0080.01016.64
7.4.330.0050.00015.00
7.4.320.0040.00416.54
7.4.300.0060.00016.47
7.4.290.0060.00316.54
7.4.280.0070.00316.34
7.4.270.0000.00716.52
7.4.260.0000.00816.37
7.4.250.0040.00416.39
7.4.240.0070.00016.40
7.4.230.0000.00716.51
7.4.220.0070.01416.53
7.4.210.0040.01516.61
7.4.200.0000.00716.55
7.4.190.0070.00016.55
7.4.160.0100.00616.32
7.4.150.0090.01217.40
7.4.140.0070.01017.86
7.4.130.0060.01016.41
7.4.120.0050.01116.35
7.4.110.0070.01616.34
7.4.100.0080.01116.49
7.4.90.0140.00416.39
7.4.80.0060.00919.39
7.4.70.0090.00616.27
7.4.60.0080.00816.37
7.4.50.0050.00016.43
7.4.40.0040.01222.77
7.4.30.0090.00616.54
7.4.00.0090.00714.89
7.3.330.0050.00013.04
7.3.320.0000.00613.05
7.3.310.0050.00216.13
7.3.300.0040.00416.25
7.3.290.0060.01316.15
7.3.280.0100.00616.15
7.3.270.0090.00917.40
7.3.260.0180.00316.49
7.3.250.0110.00716.24
7.3.240.0180.00016.52
7.3.230.0060.01316.39
7.3.210.0120.00616.08
7.3.200.0100.01019.39
7.3.190.0130.01016.46
7.3.180.0090.00816.46
7.3.170.0030.01316.27
7.3.160.0100.00716.24
7.3.120.0060.00914.87
7.3.110.0080.00814.64
7.3.100.0090.00614.69
7.3.90.0070.00714.46
7.3.80.0040.01114.90
7.3.70.0030.01014.84
7.3.60.0090.00314.73
7.3.50.0030.01014.64
7.3.40.0070.00714.73
7.3.30.0070.00714.51
7.3.20.0150.00016.41
7.3.10.0050.00616.54
7.3.00.0080.00716.56
7.2.330.0040.01316.64
7.2.320.0070.01016.58
7.2.310.0110.00616.38
7.2.300.0070.01016.54
7.2.290.0000.02216.64
7.2.250.0090.00915.03
7.2.240.0120.00614.85
7.2.230.0060.00814.64
7.2.220.0070.01014.58
7.2.210.0060.00614.71
7.2.200.0030.01014.77
7.2.190.0040.01414.87
7.2.180.0030.01015.07
7.2.170.0070.00314.78
7.2.160.0090.00914.92
7.2.150.0090.00616.60
7.2.140.0060.00916.81
7.2.130.0080.01116.38
7.2.120.0030.01116.54
7.2.110.0070.00816.47
7.2.100.0080.00916.50
7.2.90.0070.00916.59
7.2.80.0080.00616.70
7.2.70.0030.01016.44
7.2.60.0080.00516.80
7.2.50.0050.01016.64
7.2.40.0080.00416.59
7.2.30.0060.00516.76
7.2.20.0100.00516.76
7.2.10.0180.00816.98
7.2.00.0150.00917.48
7.1.330.0030.01515.81
7.1.320.0060.00915.71
7.1.310.0070.00315.37
7.1.300.0040.00915.74
7.1.290.0060.00615.77
7.1.280.0030.01015.50
7.1.270.0040.00415.55
7.1.260.0040.00915.43
7.1.250.0060.00515.69
7.1.240.0030.00615.72
7.1.230.0100.00315.74
7.1.220.0030.01015.57
7.1.210.0100.00015.67
7.1.200.0020.01015.72
7.1.190.0040.00415.65
7.1.180.0140.00315.57
7.1.170.0080.00515.55
7.1.160.0060.00615.53
7.1.150.0070.00715.32
7.1.140.0000.01315.76
7.1.130.0030.00915.75
7.1.120.0020.01216.13
7.1.110.0210.00715.65
7.1.100.0100.01016.43
7.1.90.0180.01015.58
7.1.80.0230.00916.38
7.1.70.0130.00816.15
7.1.60.0170.01325.14
7.1.50.0160.01124.98
7.1.40.0170.00924.74
7.1.30.0170.01324.83
7.1.20.0190.01124.79
7.1.10.0530.01015.82
7.1.00.0070.00915.75
7.0.330.0040.00715.31
7.0.320.0040.01115.46
7.0.310.0000.00815.12
7.0.300.0040.00414.97
7.0.290.0030.01015.40
7.0.280.0000.00715.45
7.0.270.0060.00615.55
7.0.260.0190.01115.70
7.0.250.0180.01215.35
7.0.240.0180.01015.43
7.0.230.0090.01015.38
7.0.220.0340.00615.55
7.0.210.0160.00915.05
7.0.200.0120.00615.82
7.0.190.0130.00615.86
7.0.180.0110.00815.64
7.0.170.0120.00715.55
7.0.160.0080.00815.52
7.0.150.0040.00915.46
7.0.140.0080.00815.61
7.0.130.0110.00815.64
7.0.120.0120.00815.60
7.0.110.0090.00815.48
7.0.100.0100.00915.65
7.0.90.0100.00715.53
7.0.80.0070.00915.50
7.0.70.0080.00615.51
7.0.60.0050.00915.43
7.0.50.0060.00915.68
7.0.40.0050.00614.84
7.0.30.0090.00614.82
7.0.20.0070.00814.80
7.0.10.0060.00914.85
7.0.00.0080.00814.87
5.6.400.0000.01514.51
5.6.390.0100.00313.91
5.6.380.0060.00614.43
5.6.370.0120.00013.90
5.6.360.0060.00614.28
5.6.350.0060.00914.48
5.6.340.0050.00314.43
5.6.330.0110.00014.36
5.6.320.0120.00014.21
5.6.310.0040.00413.91
5.6.300.0090.04219.20
5.6.290.0090.05219.17
5.6.280.0060.04819.23
5.6.270.0110.04219.17
5.6.260.0090.04319.20
5.6.250.0090.03919.22
5.6.240.0120.03719.22
5.6.230.0080.04219.10
5.6.220.0090.04219.21
5.6.210.0130.03719.28
5.6.200.0070.04519.06
5.6.190.0070.04319.28
5.6.180.0090.03719.13
5.6.170.0060.04219.23
5.6.160.0080.04319.10
5.6.150.0050.04919.14
5.6.140.0120.04519.16
5.6.130.0100.03919.10
5.6.120.0110.03819.09
5.6.110.0070.04519.14
5.6.100.0110.04019.17
5.6.90.0020.04619.14
5.6.80.0110.03518.58
5.6.70.0080.04018.64
5.6.60.0080.04418.67
5.6.50.0140.03618.71
5.6.40.0090.04118.80
5.6.30.0070.03818.73
5.6.20.0110.04518.75
5.6.10.0090.03618.74
5.6.00.0070.04418.74
5.5.380.0120.05017.44
5.5.370.0070.05217.52
5.5.360.0090.05017.41
5.5.350.0110.05817.42
5.5.340.0150.06017.98
5.5.330.0060.05417.97
5.5.320.0140.05817.97
5.5.310.0130.04618.03
5.5.300.0090.04917.95
5.5.290.0050.06417.92
5.5.280.0090.05217.98
5.5.270.0130.05817.85
5.5.260.0060.05418.02
5.5.250.0050.05617.70
5.5.240.0090.05117.31
5.5.230.0070.05017.24
5.5.220.0060.05417.23
5.5.210.0070.05317.20
5.5.200.0080.05017.14
5.5.190.0080.04917.22
5.5.180.0090.05217.25
5.5.160.0060.04917.29
5.5.150.0080.04917.31
5.5.140.0080.04617.32
5.5.130.0080.04617.29
5.5.120.0150.04817.36
5.5.110.0080.05417.25
5.5.100.0080.05217.09
5.5.90.0070.04917.22
5.5.80.0110.04317.11
5.5.70.0070.04917.17
5.5.60.0030.05117.27
5.5.50.0110.04117.03
5.5.40.0070.04617.11
5.5.30.0050.05117.17
5.5.20.0080.06617.16
5.5.10.0100.04617.24
5.5.00.0120.05217.14
5.4.450.0080.05319.24
5.4.440.0070.05219.29
5.4.430.0080.04819.34
5.4.420.0080.05019.24
5.4.410.0090.05319.18
5.4.400.0100.05018.96
5.4.390.0150.05418.90
5.4.380.0060.05319.05
5.4.370.0080.05118.95
5.4.360.0110.05019.09
5.4.350.0110.04619.10
5.4.340.0120.05218.93
5.4.320.0060.05218.97
5.4.310.0060.04919.02
5.4.300.0120.04419.02
5.4.290.0090.04618.92
5.4.280.0080.06519.04
5.4.270.0140.04919.03
5.4.260.0090.05518.99
5.4.250.0050.05119.02
5.4.240.0080.04919.14
5.4.230.0080.04919.05
5.4.220.0130.05719.14
5.4.210.0090.04518.99
5.4.200.0120.04918.98
5.4.190.0120.04918.99
5.4.180.0110.05218.91
5.4.170.0120.05619.00
5.4.160.0100.05818.89
5.4.150.0090.05819.09
5.4.140.0030.05016.57
5.4.130.0080.05416.69
5.4.120.0080.05016.59
5.4.110.0110.04616.68
5.4.100.0080.04816.68
5.4.90.0090.04216.62
5.4.80.0090.05716.60
5.4.70.0110.04016.46
5.4.60.0090.04316.59
5.4.50.0060.04716.47
5.4.40.0110.03916.59
5.4.30.0110.04716.58
5.4.20.0050.04516.53
5.4.10.0130.04516.59
5.4.00.0090.05016.02
5.3.290.0110.05014.92
5.3.280.0120.04514.81
5.3.270.0030.05214.83
5.3.260.0090.06014.82
5.3.250.0060.05314.81
5.3.240.0090.05914.85
5.3.230.0090.04814.83
5.3.220.0050.04914.82
5.3.210.0050.05014.76
5.3.200.0040.04714.80
5.3.190.0040.05014.74
5.3.180.0150.04814.85
5.3.170.0080.06014.85
5.3.160.0060.05114.87
5.3.150.0100.04614.68
5.3.140.0070.04414.78
5.3.130.0120.05114.67
5.3.120.0080.04814.84
5.3.110.0090.04714.82
5.3.100.0070.05314.47
5.3.90.0080.06114.43
5.3.80.0040.04714.38
5.3.70.0100.04814.43
5.3.60.0070.05714.38
5.3.50.0080.04214.40
5.3.40.0140.04014.34
5.3.30.0090.04614.42
5.3.20.0120.05214.24
5.3.10.0090.04114.10
5.3.00.0110.03914.22
5.2.170.0090.03812.49
5.2.160.0030.04212.38
5.2.150.0110.04212.54
5.2.140.0060.03612.34
5.2.130.0130.02912.59
5.2.120.0050.03812.46
5.2.110.0050.04012.53
5.2.100.0060.03812.40
5.2.90.0050.03612.41
5.2.80.0070.03612.53
5.2.70.0040.03912.51
5.2.60.0060.04712.40
5.2.50.0090.03712.42
5.2.40.0010.03912.36
5.2.30.0050.03712.47
5.2.20.0040.03612.41
5.2.10.0060.03612.35
5.2.00.0070.04012.32
5.1.60.0070.03211.82
5.1.50.0040.03711.73
5.1.40.0090.02711.70
5.1.30.0050.03312.04
5.1.20.0090.03711.97
5.1.10.0090.03211.77
5.1.00.0030.04411.80
5.0.50.0040.02611.03
5.0.40.0050.02510.97
5.0.30.0020.05510.85
5.0.20.0060.02810.86
5.0.10.0060.03310.86
5.0.00.0030.03810.83
4.4.90.0040.02110.44
4.4.80.0060.02110.44
4.4.70.0040.01810.44
4.4.60.0090.01810.44
4.4.50.0030.01810.44
4.4.40.0010.03210.44
4.4.30.0060.02010.44
4.4.20.0080.01810.44
4.4.10.0030.02110.44
4.4.00.0050.03110.44
4.3.110.0030.02510.44
4.3.100.0030.02210.44
4.3.90.0040.01710.44
4.3.80.0060.03310.44
4.3.70.0040.01910.44
4.3.60.0040.02010.44
4.3.50.0050.02110.44
4.3.40.0060.02810.44
4.3.30.0020.02110.44
4.3.20.0010.02310.44
4.3.10.0050.01710.44
4.3.00.0020.02310.44

preferences:
30.46 ms | 403 KiB | 5 Q