3v4l.org

run code in 300+ PHP versions simultaneously
<?php set_exception_handler("custom_exception_handler"); function custom_exception_handler($e){ echo "foo"; die; } throw new Exception("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.0120.00318.55
8.3.50.0140.00621.16
8.3.40.0000.01518.75
8.3.30.0070.00719.12
8.3.20.0050.00320.38
8.3.10.0040.00423.56
8.3.00.0030.00619.13
8.2.180.0000.01518.54
8.2.170.0070.00722.96
8.2.160.0110.00420.35
8.2.150.0040.00424.18
8.2.140.0050.00324.66
8.2.130.0050.00226.16
8.2.120.0070.00022.13
8.2.110.0030.00620.52
8.2.100.0120.00019.64
8.2.90.0000.00817.97
8.2.80.0060.00320.39
8.2.70.0000.00817.55
8.2.60.0060.00317.93
8.2.50.0040.00418.10
8.2.40.0050.00320.34
8.2.30.0070.00017.98
8.2.20.0040.00417.69
8.2.10.0040.00417.99
8.2.00.0000.00717.71
8.1.280.0090.00625.92
8.1.270.0090.00022.05
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0030.00624.02
8.1.230.0090.00320.91
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0030.00517.35
8.1.190.0050.00317.53
8.1.180.0000.00818.10
8.1.170.0050.00318.59
8.1.160.0000.00722.15
8.1.150.0060.00318.82
8.1.140.0000.00717.39
8.1.130.0000.00717.70
8.1.120.0000.00717.26
8.1.110.0040.00417.41
8.1.100.0000.00717.30
8.1.90.0000.00717.26
8.1.80.0000.00717.30
8.1.70.0030.00317.38
8.1.60.0040.00417.59
8.1.50.0060.00317.37
8.1.40.0000.00817.42
8.1.30.0000.00817.50
8.1.20.0000.00717.62
8.1.10.0040.00417.39
8.1.00.0040.00417.44
8.0.300.0020.00520.00
8.0.290.0040.00416.75
8.0.280.0040.00418.34
8.0.270.0000.00717.19
8.0.260.0040.00417.30
8.0.250.0030.00317.00
8.0.240.0000.00816.96
8.0.230.0000.00716.91
8.0.220.0050.00316.76
8.0.210.0030.00316.94
8.0.200.0030.00316.94
8.0.190.0070.00016.87
8.0.180.0000.00716.85
8.0.170.0050.00216.90
8.0.160.0000.00816.93
8.0.150.0040.00416.88
8.0.140.0030.00616.85
8.0.130.0000.00713.39
8.0.120.0050.00316.97
8.0.110.0080.00016.82
8.0.100.0040.00416.77
8.0.90.0070.00016.82
8.0.80.0060.00916.98
8.0.70.0000.00816.76
8.0.60.0050.00316.85
8.0.50.0040.00416.84
8.0.30.0080.01417.06
8.0.20.0030.01617.40
8.0.10.0000.00817.13
8.0.00.0070.01116.82
7.4.330.0040.00015.00
7.4.320.0060.00016.59
7.4.300.0040.00416.53
7.4.290.0000.00716.45
7.4.280.0040.00416.40
7.4.270.0000.00616.45
7.4.260.0070.00016.29
7.4.250.0030.00516.51
7.4.240.0020.00516.42
7.4.230.0030.00616.19
7.4.220.0110.00816.41
7.4.210.0070.01016.50
7.4.200.0000.00716.63
7.4.160.0130.01016.43
7.4.150.0110.00717.40
7.4.140.0120.00617.86
7.4.130.0070.00916.52
7.4.120.0090.00916.39
7.4.110.0030.01316.55
7.4.100.0100.00716.38
7.4.90.0100.00816.62
7.4.80.0060.01219.39
7.4.70.0110.00616.66
7.4.60.0130.00316.62
7.4.50.0040.00416.35
7.4.40.0030.01216.63
7.4.30.0040.01716.58
7.4.00.0040.01115.07
7.3.330.0050.00013.05
7.3.320.0050.00013.14
7.3.310.0080.00016.20
7.3.300.0030.00316.32
7.3.290.0110.00316.24
7.3.280.0060.01216.30
7.3.270.0070.01017.40
7.3.260.0100.00616.41
7.3.250.0060.01016.61
7.3.240.0100.00716.50
7.3.230.0130.00316.46
7.3.210.0140.00316.63
7.3.200.0140.00819.39
7.3.190.0130.00616.42
7.3.180.0060.01116.35
7.3.170.0060.01016.49
7.3.160.0080.01216.47
7.2.330.0140.00416.55
7.2.320.0120.00616.66
7.2.310.0130.00316.35
7.2.300.0090.00916.75
7.2.290.0090.00916.54
7.1.70.0000.00816.80
7.1.60.0060.00617.18
7.1.50.0000.01116.73
7.1.40.0030.00716.38
7.1.30.0070.00416.68
7.1.20.0040.01116.77
7.1.10.0050.00316.45
7.1.00.0060.00316.65
7.0.200.0060.00316.46
7.0.190.0060.00616.57
7.0.180.0030.00616.06
7.0.170.0130.00316.26
7.0.160.0030.00616.32
7.0.150.0000.00816.42
7.0.140.0070.00016.22
7.0.130.0040.00416.58
7.0.120.0000.00916.59
7.0.110.0000.00916.35
7.0.100.0030.00716.41
7.0.90.0070.00316.59
7.0.80.0000.00916.31
7.0.70.0000.00816.59
7.0.60.0000.00916.01
7.0.50.0000.00716.44
7.0.40.0030.00515.71
7.0.30.0030.00615.71
7.0.20.0000.00915.71
7.0.10.0000.01515.71
7.0.00.0040.01115.71
5.6.300.0030.04020.67
5.6.290.0100.03720.88
5.6.280.0000.04920.98
5.6.270.0030.04320.82
5.6.260.0070.08221.03
5.6.250.0100.04921.09
5.6.240.0130.04020.85
5.6.230.0030.04021.02
5.6.220.0030.03820.87
5.6.210.0030.05521.04
5.6.200.0200.04020.98
5.6.190.0030.05420.98
5.6.180.0130.03420.86
5.6.170.0000.04420.86
5.6.160.0030.04220.79
5.6.150.0070.06320.95
5.6.140.0030.07421.01
5.6.130.0000.04820.91
5.6.120.0060.04520.82
5.6.110.0030.05320.94
5.6.100.0000.04520.71
5.6.90.0100.04221.03
5.6.80.0030.03820.42
5.6.70.0030.04620.32
5.6.60.0200.03720.35
5.6.50.0070.03720.36
5.6.40.0030.04020.18
5.6.30.0100.03220.09
5.6.20.0060.04220.28
5.6.10.0030.03720.30
5.6.00.0030.03820.38
5.5.380.0030.04417.53
5.5.370.0030.03817.58
5.5.360.0100.04717.62
5.5.350.0000.04617.60
5.5.340.0100.03318.06
5.5.330.0100.04017.73
5.5.320.0000.04318.13
5.5.310.0030.03918.12
5.5.300.0030.08518.09
5.5.290.0030.08718.00
5.5.280.0000.04318.09
5.5.270.0030.05518.12
5.5.260.0060.04518.08
5.5.250.0090.03817.84
5.5.240.0000.04017.47
5.5.230.0060.03817.44
5.5.220.0130.03017.23
5.5.210.0000.04917.08
5.5.200.0060.03717.06
5.5.190.0030.03817.38
5.5.180.0040.04217.43
5.5.160.0070.03417.45
5.5.150.0000.04817.52
5.5.140.0000.05017.05
5.5.130.0000.04717.44
5.5.120.0000.04617.53
5.5.110.0000.04417.41
5.5.100.0030.04117.12
5.5.90.0030.03717.33
5.5.80.0030.03517.34
5.5.70.0030.05717.41
5.5.60.0030.04016.98
5.5.50.0030.03817.39
5.5.40.0040.03516.98
5.5.30.0060.03217.30
5.5.20.0000.04617.30
5.5.10.0070.03717.26
5.5.00.0030.04117.24
5.4.450.0070.07019.34
5.4.440.0130.04319.39
5.4.430.0030.04319.41
5.4.420.0030.04319.25
5.4.410.0070.04319.41
5.4.400.0000.04218.99
5.4.390.0060.04218.98
5.4.380.0060.03219.09
5.4.370.0000.04219.13
5.4.360.0070.03318.95
5.4.350.0000.03918.95
5.4.340.0000.04019.06
5.4.320.0030.04019.06
5.4.310.0030.03619.14
5.4.300.0000.04519.21
5.4.290.0060.04118.98
5.4.280.0000.04418.95
5.4.270.0000.04719.02
5.4.260.0040.03919.06
5.4.250.0030.04119.06
5.4.240.0030.03819.07
5.4.230.0000.04318.92
5.4.220.0100.03819.05
5.4.210.0030.03619.04
5.4.200.0000.04919.05
5.4.190.0000.04218.93
5.4.180.0000.04518.98
5.4.170.0030.04018.96
5.4.160.0000.04318.93
5.4.150.0100.03919.18
5.4.140.0070.03516.47
5.4.130.0000.03916.70
5.4.120.0000.03816.75
5.4.110.0130.03716.72
5.4.100.0030.03616.49
5.4.90.0070.07216.63
5.4.80.0070.04016.63
5.4.70.0000.04516.47
5.4.60.0230.04316.47
5.4.50.0000.03816.75
5.4.40.0030.03316.73
5.4.30.0030.05216.38
5.4.20.0030.04016.46
5.4.10.0030.04016.46
5.4.00.0000.03915.86
5.3.290.0030.03915.71
5.3.280.0060.03615.71
5.3.270.0000.04315.71
5.3.260.0000.04715.71
5.3.250.0140.03415.71
5.3.240.0110.03515.71
5.3.230.0120.03015.71
5.3.220.0060.03515.71
5.3.210.0000.04915.71
5.3.200.0060.03315.71
5.3.190.0060.06915.71
5.3.180.0030.04015.71
5.3.170.0000.03915.71
5.3.160.0060.03515.71
5.3.150.0000.04515.71
5.3.140.0070.04115.71
5.3.130.0030.04315.71
5.3.120.0030.04315.71
5.3.110.0060.03715.71
5.3.100.0030.04115.71
5.3.90.0030.03615.71
5.3.80.0100.06415.71
5.3.70.0030.03615.71
5.3.60.0000.04615.71
5.3.50.0030.03815.71
5.3.40.0030.04515.71
5.3.30.0000.03815.71
5.3.20.0030.03815.71
5.3.10.0000.04015.71
5.3.00.0100.02715.71
5.2.170.0100.04515.71
5.2.160.0000.03115.71
5.2.150.0000.03515.71
5.2.140.0070.06315.71
5.2.130.0030.02815.71
5.2.120.0000.03115.71
5.2.110.0030.02715.71
5.2.100.0000.03015.71
5.2.90.0000.05515.71
5.2.80.0000.03215.71
5.2.70.0000.03115.71
5.2.60.0000.06415.71
5.2.50.0000.03215.71
5.2.40.0030.03015.71
5.2.30.0030.03115.71
5.2.20.0060.02615.71
5.2.10.0000.06215.71
5.2.00.0000.05615.71
5.1.60.0030.02415.71
5.1.50.0100.02115.71
5.1.40.0070.04915.71
5.1.30.0040.05315.71
5.1.20.0030.03315.71
5.1.10.0000.03015.71
5.1.00.0040.02615.71
5.0.50.0030.02315.71
5.0.40.0040.01815.71
5.0.30.0000.03615.71
5.0.20.0030.01815.71
5.0.10.0040.03915.71
5.0.00.0030.03515.71
4.4.90.0030.01315.71
4.4.80.0030.02415.71
4.4.70.0030.01915.71
4.4.60.0060.01315.71
4.4.50.0030.02515.71
4.4.40.0000.03815.71
4.4.30.0000.03115.71
4.4.20.0000.01715.71
4.4.10.0030.01315.71
4.4.00.0030.02915.71
4.3.110.0000.01915.71
4.3.100.0000.01615.71
4.3.90.0060.02415.71
4.3.80.0040.02515.71
4.3.70.0000.02015.71
4.3.60.0000.02115.71
4.3.50.0000.01715.71
4.3.40.0000.02515.71
4.3.30.0070.01715.71
4.3.20.0000.01715.71
4.3.10.0030.03515.71
4.3.00.0000.02215.71

preferences:
45.03 ms | 401 KiB | 5 Q