3v4l.org

run code in 300+ PHP versions simultaneously
<?php function wtf() { throw new \Exception('bbq'); } try { call_user_func('wtf'); } catch (\Exception $e) { echo $e->getTraceAsString(); } try { wtf(); } catch (\Exception $e) { echo $e->getTraceAsString(); }

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.0070.01418.31
8.3.50.0140.00821.14
8.3.40.0150.00018.78
8.3.30.0060.00918.85
8.3.20.0060.00320.14
8.3.10.0000.00721.73
8.3.00.0040.00417.68
8.2.180.0080.01118.16
8.2.170.0000.01422.96
8.2.160.0100.00320.39
8.2.150.0080.00024.18
8.2.140.0050.00224.66
8.2.130.0040.00426.16
8.2.120.0060.00317.63
8.2.110.0060.00321.00
8.2.100.0090.00317.72
8.2.90.0000.00819.02
8.2.80.0080.00017.97
8.2.70.0040.00417.50
8.2.60.0000.00817.80
8.2.50.0030.00618.07
8.2.40.0080.00019.22
8.2.30.0040.00420.52
8.2.20.0050.00217.75
8.2.10.0070.00018.06
8.2.00.0030.00618.05
8.1.280.0120.00325.92
8.1.270.0030.00623.88
8.1.260.0070.00026.35
8.1.250.0040.00428.09
8.1.240.0080.00522.14
8.1.230.0130.00022.69
8.1.220.0000.00817.74
8.1.210.0040.00418.77
8.1.200.0040.00817.35
8.1.190.0040.00417.25
8.1.180.0000.00918.10
8.1.170.0000.00818.46
8.1.160.0000.00722.05
8.1.150.0000.00718.81
8.1.140.0040.00417.32
8.1.130.0030.00317.61
8.1.120.0000.00817.36
8.1.110.0000.00717.49
8.1.100.0000.00717.48
8.1.90.0000.00717.47
8.1.80.0000.00917.46
8.1.70.0000.00617.45
8.1.60.0000.00717.60
8.1.50.0040.00417.46
8.1.40.0040.00417.43
8.1.30.0030.00617.70
8.1.20.0040.00417.66
8.1.10.0000.00717.57
8.1.00.0050.00217.56
8.0.300.0040.00419.92
8.0.290.0040.00416.88
8.0.280.0040.00418.38
8.0.270.0070.00017.26
8.0.260.0040.00417.34
8.0.250.0000.00717.03
8.0.240.0040.00417.02
8.0.230.0110.00016.95
8.0.220.0070.00316.80
8.0.210.0020.00516.85
8.0.200.0060.00016.93
8.0.190.0000.00716.98
8.0.180.0040.00416.93
8.0.170.0060.00316.96
8.0.160.0000.00716.88
8.0.150.0070.00016.90
8.0.140.0070.00016.88
8.0.130.0000.00613.41
8.0.120.0040.00416.90
8.0.110.0040.00416.91
8.0.100.0000.00716.90
8.0.90.0000.00717.05
8.0.80.0060.00916.84
8.0.70.0000.00816.82
8.0.60.0000.00717.07
8.0.50.0040.00416.96
8.0.30.0070.00916.79
8.0.20.0120.00717.40
8.0.10.0040.00417.03
8.0.00.0110.00716.74
7.4.330.0050.00015.20
7.4.320.0050.00516.58
7.4.300.0060.00016.48
7.4.290.0050.00316.58
7.4.280.0000.00816.41
7.4.270.0030.00316.46
7.4.260.0030.00316.39
7.4.250.0000.00716.54
7.4.240.0040.00416.52
7.4.230.0000.00816.32
7.4.220.0060.01216.43
7.4.210.0090.00616.47
7.4.200.0030.00316.64
7.4.160.0120.00616.37
7.4.150.0100.00717.40
7.4.140.0050.01517.86
7.4.130.0120.00516.52
7.4.120.0080.01216.73
7.4.110.0040.01216.38
7.4.100.0060.01116.62
7.4.90.0130.00716.63
7.4.80.0100.00719.39
7.4.70.0000.01916.46
7.4.60.0100.01116.63
7.4.50.0000.00916.65
7.4.40.0070.01416.49
7.4.30.0090.00916.40
7.4.00.0030.01315.14
7.3.330.0000.00613.17
7.3.320.0030.00313.23
7.3.310.0030.00316.19
7.3.300.0000.00716.27
7.3.290.0130.00316.30
7.3.280.0180.00316.30
7.3.270.0100.00717.40
7.3.260.0030.01416.52
7.3.250.0160.00216.41
7.3.240.0040.01716.30
7.3.230.0070.01016.39
7.3.210.0100.00716.50
7.3.200.0090.01216.36
7.3.190.0130.01016.43
7.3.180.0110.00616.53
7.3.170.0100.01016.28
7.3.160.0150.00316.49
7.2.330.0110.00716.73
7.2.320.0100.01316.38
7.2.310.0100.00716.60
7.2.300.0140.00716.68
7.2.290.0070.01016.63
7.2.60.0030.00616.95
7.2.00.0030.00919.43
7.1.200.0000.01315.41
7.1.100.0040.00818.10
7.1.70.0030.01017.14
7.1.60.0200.00319.19
7.1.50.0140.01116.69
7.1.00.0100.07022.35
7.0.200.0000.00816.43
7.0.60.0030.06019.90
7.0.50.0170.07017.88
7.0.40.0070.08720.05
7.0.30.0230.05320.24
7.0.20.0200.03720.05
7.0.10.0070.07020.34
7.0.00.0170.08020.06
5.6.280.0100.06321.08
5.6.210.0070.04020.50
5.6.200.0200.05018.18
5.6.190.0070.04020.48
5.6.180.0500.04320.34
5.6.170.0170.05720.47
5.6.160.0000.04720.44
5.6.150.0070.07718.19
5.6.140.0100.03718.26
5.6.130.0030.08718.17
5.6.120.0000.04321.02
5.6.110.0030.04021.11
5.6.100.0170.07721.13
5.6.90.0030.07720.99
5.6.80.0100.06720.28
5.5.350.0070.03720.39
5.5.340.0070.03717.94
5.5.330.0030.07020.29
5.5.320.3330.04020.31
5.5.310.0270.08320.41
5.5.300.0070.06317.97
5.5.290.0100.07718.06
5.5.280.0000.09320.66
5.5.270.0100.05720.86
5.5.260.0100.03320.95
5.5.250.0100.08320.61
5.5.240.0030.07720.26
5.4.450.0270.06319.61
5.4.440.0270.06019.64
5.4.430.0270.05319.59
5.4.420.0270.05019.47
5.4.410.0230.05319.48
5.4.400.0300.04719.04
5.4.390.0200.06019.13
5.4.380.0200.06319.26
5.4.370.0400.04019.03
5.4.360.0330.04719.13
5.4.350.0170.05718.88
5.4.340.0300.05719.15
5.4.320.0330.06719.15
5.4.310.0270.05019.25
5.4.300.0300.05719.22
5.4.290.0200.05718.86
5.4.280.0430.06319.36
5.4.270.0300.07019.30
5.4.260.0330.07018.98
5.4.250.0270.05319.30
5.4.240.0270.06019.27
5.4.230.0370.05719.25
5.4.220.0270.05019.36
5.4.210.0270.06319.25
5.4.200.0270.05019.30
5.4.190.0270.05719.05
5.4.180.0430.06718.97
5.4.170.0400.06319.27
5.4.160.0200.06319.26
5.4.150.0300.05019.13
5.4.140.0270.04716.56
5.4.130.0300.04716.30
5.4.120.0230.05316.55
5.4.110.0470.04316.47
5.4.100.0430.04016.52
5.4.90.0200.06016.52
5.4.80.0330.04716.66
5.4.70.0130.04316.50
5.4.60.0170.04016.43
5.4.50.0070.07016.16
5.4.40.0200.06316.21
5.4.30.0300.06016.51
5.4.20.0130.04016.32

preferences:
48.59 ms | 401 KiB | 5 Q