3v4l.org

run code in 300+ PHP versions simultaneously
<?php function haha(){ throw new Exception("Fuck"); } $results = false; try{ $results =haha(); }catch(Exception $e){ $results = false; } var_dump( $results);

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.0170.00318.61
8.3.50.0100.00921.97
8.3.40.0070.00718.64
8.3.30.0060.00918.95
8.3.20.0040.00420.22
8.3.10.0000.00822.05
8.3.00.0040.00422.39
8.2.180.0110.00716.50
8.2.170.0120.00422.96
8.2.160.0070.01420.89
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0070.00026.16
8.2.120.0080.00017.63
8.2.110.0090.00022.00
8.2.100.0080.00417.88
8.2.90.0000.00817.84
8.2.80.0040.00417.97
8.2.70.0080.00017.63
8.2.60.0080.00017.80
8.2.50.0070.00418.07
8.2.40.0080.00018.03
8.2.30.0060.00317.99
8.2.20.0060.00317.65
8.2.10.0000.00817.66
8.2.00.0040.00417.72
8.1.280.0200.00025.92
8.1.270.0050.00323.97
8.1.260.0050.00326.35
8.1.250.0080.00028.09
8.1.240.0040.00422.45
8.1.230.0070.00420.93
8.1.220.0040.00417.74
8.1.210.0050.00318.97
8.1.200.0030.00617.48
8.1.190.0020.00517.53
8.1.180.0050.00318.10
8.1.170.0030.00518.66
8.1.160.0030.00521.92
8.1.150.0040.00418.50
8.1.140.0000.00817.45
8.1.130.0040.00417.80
8.1.120.0050.00317.44
8.1.110.0050.00217.43
8.1.100.0050.00317.49
8.1.90.0070.00017.46
8.1.80.0070.00017.48
8.1.70.0040.00417.42
8.1.60.0000.00817.61
8.1.50.0030.00617.52
8.1.40.0000.00717.41
8.1.30.0060.00317.67
8.1.20.0030.00517.62
8.1.10.0080.00017.56
8.1.00.0040.00417.43
8.0.300.0040.00419.94
8.0.290.0000.00717.18
8.0.280.0000.00718.43
8.0.270.0070.00017.20
8.0.260.0000.00716.86
8.0.250.0020.00516.83
8.0.240.0050.00216.92
8.0.230.0030.00316.95
8.0.220.0030.00316.75
8.0.210.0000.00716.84
8.0.200.0040.00416.90
8.0.190.0060.00616.95
8.0.180.0090.00016.91
8.0.170.0070.00016.97
8.0.160.0000.00716.82
8.0.150.0070.00016.94
8.0.140.0030.00316.93
8.0.130.0000.00513.36
8.0.120.0030.00516.91
8.0.110.0050.00216.94
8.0.100.0000.00716.77
8.0.90.0050.00216.90
8.0.80.0060.00916.94
8.0.70.0000.00716.85
8.0.60.0050.00516.88
8.0.50.0080.00017.00
8.0.30.0180.00917.17
8.0.20.0130.01117.40
8.0.10.0000.00716.95
8.0.00.0080.00816.76
7.4.330.0050.00015.00
7.4.320.0000.00716.51
7.4.300.0000.00616.56
7.4.290.0020.00516.39
7.4.280.0030.00316.50
7.4.270.0000.00916.58
7.4.260.0000.00816.58
7.4.250.0000.00716.57
7.4.240.0030.00416.50
7.4.230.0030.00316.33
7.4.220.0150.00616.53
7.4.210.0050.01216.47
7.4.200.0000.00716.40
7.4.190.0030.00316.45
7.4.160.0030.01416.55
7.4.150.0120.00617.40
7.4.140.0090.00917.86
7.4.130.0130.00416.50
7.4.120.0100.00716.45
7.4.110.0060.01516.49
7.4.100.0040.01216.57
7.4.90.0070.01016.50
7.4.80.0140.00619.39
7.4.70.0100.00716.47
7.4.60.0070.01116.72
7.4.50.0040.00416.51
7.4.40.0060.00622.77
7.4.30.0060.00916.36
7.4.00.0060.00914.83
7.3.330.0050.00013.13
7.3.320.0030.00313.30
7.3.310.0030.00316.19
7.3.300.0000.00716.18
7.3.290.0070.00716.30
7.3.280.0120.00516.25
7.3.270.0130.00717.40
7.3.260.0070.01016.54
7.3.250.0080.00816.48
7.3.240.0120.00616.41
7.3.230.0130.00316.39
7.3.210.0070.01016.45
7.3.200.0110.00619.39
7.3.190.0210.00016.52
7.3.180.0070.01316.35
7.3.170.0070.01316.55
7.3.160.0000.01616.39
7.3.120.0030.01314.85
7.3.00.0030.01016.41
7.2.330.0000.01816.52
7.2.320.0070.01616.56
7.2.310.0100.01316.73
7.2.300.0070.01616.61
7.2.290.0030.01316.58
7.2.130.0070.01016.99
7.2.120.0070.00716.89
7.2.110.0030.01016.50
7.2.100.0030.01016.83
7.2.90.0100.00616.90
7.2.80.0090.00616.88
7.2.70.0090.00616.46
7.2.60.0070.00716.65
7.2.50.0090.00016.65
7.2.40.0040.01216.84
7.2.30.0040.01416.82
7.2.20.0030.00716.87
7.2.10.0120.00616.60
7.2.00.0040.01118.09
7.1.250.0070.01115.48
7.1.240.0090.00615.69
7.1.230.0120.00615.61
7.1.220.0060.01015.78
7.1.210.0030.00915.29
7.1.200.0030.01015.66
7.1.190.0060.00915.38
7.1.180.0070.00315.47
7.1.170.0000.01215.90
7.1.160.0080.00315.69
7.1.150.0070.00415.76
7.1.140.0100.00315.62
7.1.130.0060.00615.62
7.1.120.0040.01515.73
7.1.110.0100.00515.73
7.1.100.0060.00716.88
7.1.90.0090.00915.45
7.1.80.0130.00315.48
7.1.70.0040.00716.17
7.1.60.0050.01217.67
7.1.50.0030.00716.28
7.1.40.0060.00615.68
7.1.30.0030.01015.68
7.1.20.0000.01415.64
7.1.10.0130.00315.79
7.1.00.0050.04218.97
7.0.330.0080.00415.29
7.0.320.0040.01115.01
7.0.310.0040.00715.33
7.0.300.0030.01315.34
7.0.290.0060.00614.89
7.0.280.0090.00615.27
7.0.270.0030.00915.39
7.0.260.0110.00715.23
7.0.250.0060.00915.36
7.0.240.0070.00715.10
7.0.230.0090.00915.36
7.0.220.0100.00615.37
7.0.210.0030.00915.41
7.0.200.0050.00915.80
7.0.190.0070.00715.23
7.0.180.0120.00015.24
7.0.170.0040.01115.38
7.0.160.0090.00615.46
7.0.150.0000.00915.30
7.0.140.0080.03818.67
7.0.130.0060.00915.35
7.0.120.0040.01115.11
7.0.110.0030.00615.08
7.0.100.0120.00615.08
7.0.90.0080.00015.36
7.0.80.0080.00415.34
7.0.70.0060.00915.41
7.0.60.0130.03817.60
7.0.50.0070.02216.66
7.0.40.0110.04316.75
7.0.30.0130.03116.87
7.0.20.0150.03316.87
7.0.10.0100.02516.71
7.0.00.0030.03816.81
5.6.380.0030.01214.28
5.6.370.0030.01014.21
5.6.360.0000.01314.41
5.6.350.0030.01014.36
5.6.340.0060.00614.29
5.6.330.0070.00414.56
5.6.320.0060.00613.96
5.6.310.0060.00914.28
5.6.300.0080.00614.21
5.6.290.0090.00314.30
5.6.280.0040.03717.39
5.6.270.0030.00714.36
5.6.260.0110.00414.31
5.6.250.0090.00914.13
5.6.240.0040.01114.29
5.6.230.0060.00314.26
5.6.220.0060.00914.27
5.6.210.0120.03817.29
5.6.200.0110.04116.11
5.6.190.0150.03717.56
5.6.180.0040.04517.35
5.6.170.0130.02317.40
5.6.160.0080.04217.43
5.6.150.0020.03016.17
5.6.140.0050.02316.09
5.6.130.0050.04016.22
5.6.120.0070.04617.69
5.6.110.0040.04317.56
5.6.100.0080.03717.47
5.6.90.0100.02317.46
5.6.80.0080.03717.21
5.6.70.0180.03717.30
5.6.60.0110.00313.80
5.6.50.0060.00613.98
5.6.40.0070.00714.04
5.6.30.0080.00813.77
5.6.20.0070.00714.36
5.6.10.0070.00313.89
5.6.00.0030.01214.07
5.5.380.0000.01211.18
5.5.370.0040.00711.18
5.5.360.0030.00311.18
5.5.350.0000.02215.87
5.5.340.0080.04214.58
5.5.330.0080.04315.76
5.5.320.0200.04015.73
5.5.310.0200.02615.77
5.5.300.0050.04114.58
5.5.290.0070.03814.59
5.5.280.0050.04415.99
5.5.270.0050.02115.95
5.5.260.0020.02715.94
5.5.250.0040.04315.82
5.5.240.0060.04115.68
5.5.230.0070.00411.18
5.5.220.0000.00711.18
5.5.210.0030.00311.18
5.5.200.0030.00911.22
5.5.190.0000.00911.18
5.5.180.0060.00311.18
5.5.170.0000.01111.18
5.5.160.0000.00611.18
5.5.150.0060.00611.18
5.5.140.0060.00611.18
5.5.130.0040.00711.18
5.5.120.0030.00311.19
5.5.110.0000.01011.18
5.5.100.0080.00411.18
5.5.90.0070.00011.18
5.5.80.0030.00911.18
5.5.70.0030.00311.18
5.5.60.0070.00311.18
5.5.50.0040.00711.18
5.5.40.0060.00611.18
5.5.30.0000.01111.18
5.5.20.0030.00611.18
5.5.10.0060.00611.18
5.5.00.0090.00311.18
5.4.450.0220.02515.36
5.4.440.0280.02515.25
5.4.430.0300.02015.32
5.4.420.0290.02315.30
5.4.410.0070.02914.93
5.4.400.0090.03114.90
5.4.390.0090.03014.85
5.4.380.0100.03014.96
5.4.370.0140.02514.94
5.4.360.0080.02914.86
5.4.350.0100.03014.89
5.4.340.0110.03014.95
5.4.330.0000.00611.18
5.4.320.0080.02211.84
5.4.310.0050.02111.84
5.4.300.0050.02111.84
5.4.290.0070.02411.84
5.4.280.0060.02311.77
5.4.270.0040.02311.77
5.4.260.0050.02111.77
5.4.250.0060.02111.77
5.4.240.0040.02211.77
5.4.230.0060.02111.76
5.4.220.0040.02411.77
5.4.210.0030.02311.76
5.4.200.0050.02011.77
5.4.190.0030.02411.76
5.4.180.0070.02011.76
5.4.170.0020.02511.77
5.4.160.0050.02211.77
5.4.150.0020.02211.76
5.4.140.0080.02011.61
5.4.130.0040.02111.60
5.4.120.0090.01611.58
5.4.110.0040.02211.58
5.4.100.0030.02111.58
5.4.90.0050.02111.57
5.4.80.0040.02311.58
5.4.70.0060.01611.57
5.4.60.0070.01911.58
5.4.50.0060.02111.57
5.4.40.0060.02211.57
5.4.30.0070.02011.57
5.4.20.0040.02511.57
5.4.10.0050.02111.57
5.4.00.0040.02411.31
5.3.290.0070.02411.99
5.3.280.0020.02211.94
5.3.270.0030.02311.95
5.3.260.0060.02211.95
5.3.250.0030.02311.95
5.3.240.0080.02011.95
5.3.230.0050.02311.94
5.3.220.0040.02211.93
5.3.210.0020.02511.93
5.3.200.0070.02011.93
5.3.190.0070.01811.92
5.3.180.0080.01911.93
5.3.170.0040.02311.92
5.3.160.0040.02111.92
5.3.150.0060.02011.92
5.3.140.0050.02311.92
5.3.130.0050.02111.92
5.3.120.0040.02511.92
5.3.110.0060.01911.92
5.3.100.0060.01811.64
5.3.90.0050.02111.63
5.3.80.0060.02011.63
5.3.70.0070.01711.63
5.3.60.0050.02411.62
5.3.50.0040.02711.59
5.3.40.0020.02411.59
5.3.30.0050.02111.56
5.3.20.0040.02211.45
5.3.10.0040.02111.44
5.3.00.0020.02411.43
5.2.170.0060.02010.18
5.2.160.0010.01810.18
5.2.150.0060.01610.18
5.2.140.0070.01510.18
5.2.130.0050.01610.16
5.2.120.0030.01810.16
5.2.110.0050.01710.16
5.2.100.0030.01710.16
5.2.90.0040.01610.16
5.2.80.0050.01710.15
5.2.70.0050.01710.15
5.2.60.0010.01910.13
5.2.50.0020.02110.12
5.2.40.0030.01910.11
5.2.30.0040.01610.09
5.2.20.0030.01710.09
5.2.10.0060.01510.04
5.2.00.0040.0169.97
5.1.60.0030.0169.61
5.1.50.0030.0149.61
5.1.40.0040.0149.60
5.1.30.0040.0159.78
5.1.20.0030.0169.79
5.1.10.0040.0149.65
5.1.00.0020.0169.65
5.0.50.0030.0138.89
5.0.40.0050.0118.82
5.0.30.0010.0218.73
5.0.20.0060.0098.71
5.0.10.0020.0158.70
5.0.00.0020.0198.70
4.4.90.0020.0127.98
4.4.80.0010.0137.97
4.4.70.0010.0117.97
4.4.60.0020.0107.96
4.4.50.0020.0117.97
4.4.40.0030.0157.94
4.4.30.0020.0157.97
4.4.20.0030.0138.01
4.4.10.0040.0098.01
4.4.00.0020.0137.97
4.3.110.0000.0127.92
4.3.100.0010.0127.92
4.3.90.0010.0157.91
4.3.80.0010.0157.88
4.3.70.0020.0097.90
4.3.60.0030.0097.90
4.3.50.0030.0097.90
4.3.40.0040.0147.85
4.3.30.0020.0127.23
4.3.20.0020.0107.22
4.3.10.0020.0107.20
4.3.00.0000.01313.14

preferences:
48.59 ms | 401 KiB | 5 Q