3v4l.org

run code in 300+ PHP versions simultaneously
<?php function foo(exception $e) { throw $e; } function bar(){ return new Exception("here"); } foo(bar());

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.0140.00718.68
8.3.50.0130.00717.99
8.3.40.0040.01122.03
8.3.30.0140.00018.51
8.3.20.0000.00724.18
8.3.10.0050.00224.66
8.3.00.0030.00626.16
8.2.180.0120.00325.92
8.2.170.0150.00718.79
8.2.160.0090.00622.96
8.2.150.0050.00225.66
8.2.140.0080.00024.66
8.2.130.0000.00726.16
8.2.120.0070.00026.35
8.2.110.0040.00719.19
8.2.100.0110.00017.78
8.2.90.0090.00017.38
8.2.80.0060.00318.96
8.2.70.0000.00917.93
8.2.60.0000.00818.03
8.2.50.0060.00318.10
8.2.40.0040.00419.30
8.2.30.0040.00419.16
8.2.20.0040.00418.04
8.2.10.0000.00819.14
8.2.00.0000.00719.29
8.1.280.0040.01125.92
8.1.270.0030.00523.99
8.1.260.0040.00428.09
8.1.250.0070.00028.09
8.1.240.0080.00323.70
8.1.230.0090.00320.92
8.1.220.0040.00417.74
8.1.210.0030.00518.77
8.1.200.0090.00017.35
8.1.190.0040.00417.23
8.1.180.0050.00218.10
8.1.170.0030.00518.64
8.1.160.0030.00318.94
8.1.150.0030.00518.73
8.1.140.0000.00820.53
8.1.130.0000.00720.09
8.1.120.0030.00517.45
8.1.110.0040.00417.26
8.1.100.0030.00317.27
8.1.90.0000.00717.35
8.1.80.0030.00717.34
8.1.70.0050.00317.40
8.1.60.0000.00817.41
8.1.50.0080.00017.41
8.1.40.0040.00417.43
8.1.30.0040.00417.52
8.1.20.0000.00817.59
8.1.10.0030.00617.42
8.1.00.0030.00717.45
8.0.300.0000.00718.77
8.0.290.0050.00216.75
8.0.280.0000.00718.30
8.0.270.0030.00316.70
8.0.260.0030.00318.47
8.0.250.0070.00316.95
8.0.240.0050.00316.84
8.0.230.0070.00016.94
8.0.220.0000.00716.78
8.0.210.0000.00816.77
8.0.200.0030.00316.83
8.0.190.0040.00416.90
8.0.180.0000.00816.96
8.0.170.0040.00416.96
8.0.160.0040.00416.91
8.0.150.0050.00316.83
8.0.140.0040.00416.87
8.0.130.0000.00513.38
8.0.120.0020.00516.88
8.0.110.0040.00416.81
8.0.100.0040.00416.80
8.0.90.0030.00316.98
8.0.80.0100.00516.91
8.0.70.0040.00416.74
8.0.60.0000.00717.01
8.0.50.0040.00416.89
8.0.30.0100.01017.07
8.0.20.0090.01117.18
8.0.10.0040.00416.95
8.0.00.0050.01416.47
7.4.330.0000.00515.55
7.4.320.0030.00316.51
7.4.300.0000.00716.43
7.4.290.0030.00316.46
7.4.280.0000.00816.43
7.4.270.0030.00316.54
7.4.260.0050.00013.20
7.4.250.0030.00316.31
7.4.240.0030.00316.42
7.4.230.0030.00316.27
7.4.220.0000.00816.47
7.4.210.0070.00716.50
7.4.200.0030.00316.24
7.4.130.0120.00616.50
7.4.120.0030.01316.21
7.4.110.0100.00716.37
7.4.100.0070.01016.47
7.4.90.0100.01016.31
7.4.80.0140.00316.16
7.4.70.0030.01816.56
7.4.60.0110.00716.37
7.4.50.0130.00316.18
7.4.40.0030.01416.28
7.4.30.0030.01316.20
7.4.20.0090.00916.05
7.4.10.0060.00916.60
7.4.00.0090.00916.39
7.3.330.0070.00016.41
7.3.320.0000.00613.36
7.3.310.0040.00416.35
7.3.300.0030.00316.23
7.3.290.0090.01016.33
7.3.260.0140.00716.34
7.3.250.0110.00816.38
7.3.240.0060.01016.27
7.3.230.0140.00316.42
7.3.220.0100.00716.66
7.3.210.0070.01416.29
7.3.200.0120.00616.34
7.3.190.0100.01716.43
7.3.180.0030.01316.30
7.3.170.0030.01416.23
7.3.160.0100.00716.14
7.3.150.0050.01316.27
7.3.140.0100.00716.31
7.3.130.0110.01116.40
7.3.120.0200.00016.47
7.3.110.0100.00716.27
7.3.100.0150.00616.27
7.3.90.0060.01316.51
7.3.80.0090.00916.46
7.3.70.0130.00716.21
7.3.60.0140.00616.32
7.3.50.0100.01016.26
7.3.40.0160.00816.35
7.3.30.0120.01216.18
7.3.20.0190.00616.18
7.3.10.0130.01316.29
7.3.00.0030.01616.33
7.2.340.0130.00516.51
7.2.330.0090.00916.29
7.2.320.0130.00516.44
7.2.310.0030.01416.61
7.2.300.0120.00616.27
7.2.290.0060.01016.28
7.2.280.0070.01116.48
7.2.270.0100.00716.24
7.2.260.0140.00316.23
7.2.250.0090.01216.23
7.2.240.0130.00616.51
7.2.230.0090.00916.39
7.2.220.0100.01316.61
7.2.210.0120.00616.41
7.2.200.0030.01516.27
7.2.190.0030.01416.44
7.2.180.0190.00316.34
7.2.170.0000.01816.27
7.2.160.0140.01016.15
7.2.150.0060.01616.54
7.2.140.0150.01016.54
7.2.130.0160.00416.50
7.2.120.0090.00916.32
7.2.110.0110.00716.46
7.2.100.0090.00916.50
7.2.90.0550.00616.46
7.2.80.0120.00616.45
7.2.70.0040.01416.48
7.2.60.0070.01916.40
7.2.50.0070.01116.53
7.2.40.0060.01316.58
7.2.30.0090.01516.47
7.2.20.0120.01216.55
7.2.10.0060.01316.44
7.2.00.0100.01316.48

preferences:
62.85 ms | 401 KiB | 5 Q