3v4l.org

run code in 300+ PHP versions simultaneously
<?php set_exception_handler(function(\Exception $e){ try { throw $e; } catch(\Exception $e) { print $e->getMessage() . "\n"; } }); throw new Exception("Test exception");

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.0120.00916.88
8.3.50.0110.01116.47
8.3.40.0170.00318.92
8.3.30.0070.00718.67
8.3.20.0040.00420.16
8.3.10.0080.00023.60
8.3.00.0040.00423.52
8.2.180.0160.00618.54
8.2.170.0100.01022.96
8.2.160.0100.00320.38
8.2.150.0030.00524.18
8.2.140.0070.01124.66
8.2.130.0000.00726.16
8.2.120.0040.00421.04
8.2.110.0030.00722.11
8.2.100.0090.00317.91
8.2.90.0080.00019.09
8.2.80.0040.00417.97
8.2.70.0030.00517.38
8.2.60.0070.00017.93
8.2.50.0000.00818.16
8.2.40.0080.00022.36
8.2.30.0040.00419.30
8.2.20.0000.00817.91
8.2.10.0040.00418.03
8.2.00.0000.00718.07
8.1.280.0140.00025.92
8.1.270.0090.00024.66
8.1.260.0000.00826.35
8.1.250.0000.00828.09
8.1.240.0030.00722.21
8.1.230.0090.00317.70
8.1.220.0080.00017.74
8.1.210.0000.00818.77
8.1.200.0050.00517.36
8.1.190.0040.00417.53
8.1.180.0040.00418.10
8.1.170.0080.00018.66
8.1.160.0040.00718.89
8.1.150.0000.01018.87
8.1.140.0050.00319.59
8.1.130.0000.00718.84
8.1.120.0040.00417.40
8.1.110.0020.00517.44
8.1.100.0030.00517.50
8.1.90.0050.00317.51
8.1.80.0020.00517.35
8.1.70.0030.00317.28
8.1.60.0040.00417.54
8.1.50.0000.00817.48
8.1.40.0030.00617.55
8.1.30.0000.00717.55
8.1.20.0060.00317.58
8.1.10.0000.00817.57
8.1.00.0020.00517.49
8.0.300.0000.01018.77
8.0.290.0040.00416.88
8.0.280.0030.00318.52
8.0.270.0030.00317.32
8.0.260.0030.00816.77
8.0.250.0070.00016.98
8.0.240.0050.00216.99
8.0.230.0070.00017.05
8.0.220.0030.00316.95
8.0.210.0070.00016.86
8.0.200.0050.00216.96
8.0.190.0050.00316.89
8.0.180.0000.00716.86
8.0.170.0070.00017.00
8.0.160.0040.00416.96
8.0.150.0050.00216.94
8.0.140.0050.00316.95
8.0.130.0060.00013.45
8.0.120.0050.00216.90
8.0.110.0050.00316.84
8.0.100.0040.00416.82
8.0.90.0000.00716.98
8.0.80.0100.00916.89
8.0.70.0050.00216.82
8.0.60.0070.00017.02
8.0.50.0070.00016.77
8.0.30.0090.01117.00
8.0.20.0120.00917.40
8.0.10.0040.00417.02
8.0.00.0060.01016.74
7.4.330.0000.00516.72
7.4.320.0060.00016.50
7.4.300.0030.00316.51
7.4.290.0000.00716.48
7.4.280.0000.00716.59
7.4.270.0070.00016.64
7.4.260.0030.00316.63
7.4.250.0050.00216.46
7.4.240.0000.00716.48
7.4.230.0050.00216.70
7.4.220.0190.00816.49
7.4.210.0090.01116.58
7.4.200.0000.00716.40
7.4.160.0100.00716.44
7.4.150.0140.00417.40
7.4.140.0100.00717.86
7.4.130.0040.01416.57
7.4.120.0080.01116.54
7.4.110.0190.00416.55
7.4.100.0110.00516.48
7.4.90.0100.00716.56
7.4.80.0130.00319.39
7.4.70.0100.00716.54
7.4.60.0140.00316.56
7.4.50.0070.00716.30
7.4.40.0060.01016.41
7.4.30.0130.00316.53
7.4.00.0070.01014.82
7.3.330.0080.00013.23
7.3.320.0050.00013.32
7.3.310.0030.00316.20
7.3.300.0050.00216.41
7.3.290.0040.01116.30
7.3.280.0080.00716.35
7.3.270.0150.00317.40
7.3.260.0120.00616.37
7.3.250.0070.01016.42
7.3.240.0110.00716.50
7.3.230.0060.01016.29
7.3.210.0090.00616.49
7.3.200.0060.01016.60
7.3.190.0090.00616.53
7.3.180.0080.00816.33
7.3.170.0060.01016.56
7.3.160.0000.01616.45
7.3.10.0070.00716.34
7.3.00.0020.01316.31
7.2.330.0060.01016.38
7.2.320.0100.00716.63
7.2.310.0030.01416.54
7.2.300.0060.01116.62
7.2.290.0090.00616.60
7.2.130.0030.01016.65
7.2.120.0100.00516.60
7.2.110.0030.01216.83
7.2.100.0070.00716.78
7.2.90.0050.00816.58
7.2.80.0140.00316.73
7.2.70.0120.00616.58
7.2.60.0030.01016.73
7.2.50.0080.00616.82
7.2.40.0050.01116.58
7.2.30.0080.01016.95
7.2.20.0110.00416.53
7.2.10.0150.00716.80
7.2.00.0080.01016.61
7.1.250.0090.00615.73
7.1.200.0040.00315.66
7.1.110.0030.01818.13
7.1.100.0220.00416.14
7.1.90.0080.00817.70
7.1.80.0230.00516.33
7.1.70.0140.01417.23
7.1.60.0230.01333.14
7.1.50.0300.01332.70
7.1.40.0230.01234.22
7.1.30.0190.01234.36
7.1.20.0220.01534.52
7.1.10.0240.00816.38
7.1.00.0230.00914.81
7.0.250.0130.01317.66
7.0.240.0190.00615.58
7.0.230.0030.01317.77
7.0.220.0190.00617.82
7.0.210.0050.01016.51
7.0.200.0220.00616.74
7.0.190.0070.01016.55
7.0.180.0170.00916.00
7.0.170.0180.01114.43
7.0.160.0030.01816.13
7.0.150.0180.01416.28
7.0.140.0000.01714.41
7.0.130.0170.00714.45
7.0.120.0150.00914.61
7.0.110.0060.01516.57
7.0.100.0240.00614.43
7.0.90.0040.01116.27
7.0.80.0070.00716.48
7.0.70.0090.01416.37
7.0.60.0030.01714.34
7.0.50.0110.01114.63
7.0.40.0050.00816.43
7.0.30.0060.01714.68
7.0.20.0070.01416.48
7.0.10.0130.00016.68
7.0.00.0080.00816.37

preferences:
61.44 ms | 401 KiB | 5 Q