3v4l.org

run code in 300+ PHP versions simultaneously
<?php function wtf() { throw new \Exception('bbq'); } try { echo "as cuf\n"; call_user_func('wtf'); } catch (\Exception $e) { echo $e->getTraceAsString(); } try { wtf(); } catch (\Exception $e) { echo "as func call\n"; 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.0140.00718.08
8.3.50.0050.01621.21
8.3.40.0060.01218.84
8.3.30.0000.01518.71
8.3.20.0000.00820.23
8.3.10.0000.00721.85
8.3.00.0080.00019.79
8.2.180.0030.01318.29
8.2.170.0070.01022.96
8.2.160.0100.00320.39
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0000.00826.16
8.2.120.0030.00617.63
8.2.110.0000.00922.31
8.2.100.0090.00317.75
8.2.90.0090.00019.22
8.2.80.0030.00517.97
8.2.70.0090.00017.63
8.2.60.0000.00817.93
8.2.50.0030.00618.07
8.2.40.0040.00419.37
8.2.30.0070.00020.61
8.2.20.0030.00617.82
8.2.10.0040.00417.97
8.2.00.0040.00418.11
8.1.280.0090.00625.92
8.1.270.0000.00823.86
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0080.00022.36
8.1.230.0110.00017.42
8.1.220.0000.00817.74
8.1.210.0060.00318.77
8.1.200.0030.00617.35
8.1.190.0030.00617.35
8.1.180.0040.00418.10
8.1.170.0050.00318.63
8.1.160.0030.00522.01
8.1.150.0030.00318.80
8.1.140.0080.00017.50
8.1.130.0030.00317.71
8.1.120.0040.00417.51
8.1.110.0040.00417.49
8.1.100.0050.00317.51
8.1.90.0040.00417.46
8.1.80.0000.00817.48
8.1.70.0030.00317.35
8.1.60.0000.00717.51
8.1.50.0030.00617.55
8.1.40.0050.00317.56
8.1.30.0000.00817.54
8.1.20.0040.00417.66
8.1.10.0040.00417.44
8.1.00.0040.00417.58
8.0.300.0040.00418.77
8.0.290.0040.00416.63
8.0.280.0070.00018.45
8.0.270.0030.00317.25
8.0.260.0050.00317.21
8.0.250.0040.00416.90
8.0.240.0080.00016.92
8.0.230.0110.00016.91
8.0.220.0070.00316.83
8.0.210.0000.00816.79
8.0.200.0000.00717.02
8.0.190.0000.00716.95
8.0.180.0070.00016.91
8.0.170.0040.00416.96
8.0.160.0000.00716.89
8.0.150.0000.00816.86
8.0.140.0000.00716.85
8.0.130.0030.00313.41
8.0.120.0080.00016.93
8.0.110.0040.00416.87
8.0.100.0000.00817.02
8.0.90.0030.00516.97
8.0.80.0000.01516.96
8.0.70.0050.00216.99
8.0.60.0080.00016.81
8.0.50.0070.00016.94
8.0.30.0160.00417.10
8.0.20.0090.01217.40
8.0.10.0070.00016.90
8.0.00.0090.00916.83
7.4.330.0050.00015.08
7.4.320.0050.00316.53
7.4.300.0030.00316.52
7.4.290.0000.00716.61
7.4.280.0040.00416.59
7.4.270.0030.00316.53
7.4.260.0070.00016.43
7.4.250.0050.00216.53
7.4.240.0040.00416.51
7.4.230.0000.00816.69
7.4.220.0040.01216.64
7.4.210.0040.01116.55
7.4.200.0070.00016.67
7.4.160.0080.01116.52
7.4.150.0150.00217.40
7.4.140.0090.01317.86
7.4.130.0100.01016.48
7.4.120.0080.01116.56
7.4.110.0030.01316.70
7.4.100.0090.00916.54
7.4.90.0080.00816.52
7.4.80.0080.00819.39
7.4.70.0030.01316.45
7.4.60.0060.01316.63
7.4.50.0000.00816.54
7.4.40.0130.00816.54
7.4.30.0090.00916.57
7.4.00.0100.00715.06
7.3.330.0000.00513.13
7.3.320.0030.00313.26
7.3.310.0000.00716.11
7.3.300.0050.00216.34
7.3.290.0060.00916.25
7.3.280.0050.01216.31
7.3.270.0060.01117.40
7.3.260.0070.01116.58
7.3.250.0150.00716.36
7.3.240.0130.01116.54
7.3.230.0090.01516.39
7.3.210.0120.00616.48
7.3.200.0040.01216.27
7.3.190.0030.01316.46
7.3.180.0030.01816.59
7.3.170.0030.01316.63
7.3.160.0130.01016.50
7.3.120.0050.01114.60
7.3.110.0080.00714.81
7.3.100.0020.01214.68
7.3.90.0040.00914.55
7.3.80.0100.00514.74
7.3.70.0020.01114.66
7.3.60.0040.01114.78
7.3.50.0060.00914.63
7.3.40.0070.00714.61
7.3.30.0070.00714.74
7.3.20.0050.00916.39
7.3.10.0070.00616.65
7.3.00.0030.01216.61
7.2.330.0120.01216.72
7.2.320.0100.00716.60
7.2.310.0060.01216.34
7.2.300.0060.01216.64
7.2.290.0100.01316.61
7.2.250.0070.01414.76
7.2.240.0070.00914.90
7.2.230.0050.00715.06
7.2.220.0050.00915.08
7.2.210.0070.01014.71
7.2.200.0060.00814.99
7.2.190.0080.00814.80
7.2.180.0060.00914.95
7.2.170.0050.00714.98
7.2.160.0060.00614.74
7.2.150.0000.01116.68
7.2.140.0070.01016.89
7.2.130.0060.00816.81
7.2.120.0000.01316.87
7.2.110.0040.01116.75
7.2.100.0050.00816.79
7.2.90.0060.00716.93
7.2.80.0060.00816.88
7.2.70.0070.00516.87
7.2.60.0040.01016.78
7.2.50.0070.00916.76
7.2.40.0040.01216.81
7.2.30.0100.00516.95
7.2.20.0070.00616.88
7.2.10.0070.00616.90
7.2.00.0060.01117.58
7.1.330.0050.00715.60
7.1.320.0050.00615.79
7.1.310.0080.00315.53
7.1.300.0100.00115.46
7.1.290.0060.00815.78
7.1.280.0020.00915.58
7.1.270.0060.00615.56
7.1.260.0040.00415.73
7.1.250.0050.00815.69
7.1.200.0040.00815.42
7.1.100.0040.00717.99
7.1.70.0080.00316.97
7.1.60.0180.00919.19
7.1.50.0140.01016.97
7.1.00.0070.07022.54
7.0.200.0030.00616.61
7.0.60.0130.08019.91
7.0.50.0030.04017.87
7.0.40.0030.04720.11
7.0.30.0230.05720.19
7.0.20.0330.07020.30
7.0.10.0030.04720.25
7.0.00.0070.08720.20
5.6.210.0030.08020.69
5.6.200.0100.08718.15
5.6.190.0030.09320.45
5.6.180.0400.07020.61
5.6.170.0300.06720.39
5.6.160.0030.09020.47
5.6.150.0030.05018.23
5.6.140.0170.04018.19
5.6.130.0070.08718.29
5.6.120.0030.05720.98
5.6.110.0130.07320.89
5.6.100.0030.04720.98
5.6.90.0100.07720.99
5.6.80.0030.08020.44
5.5.350.0030.04720.41
5.5.340.0070.08318.02
5.5.330.0170.07320.38
5.5.320.0430.07020.51
5.5.310.0170.04020.36
5.5.300.0070.04018.03
5.5.290.0100.07018.03
5.5.280.0030.09020.66
5.5.270.0130.07320.75
5.5.260.0270.06320.83
5.5.250.0000.04720.57
5.5.240.0070.07320.21
5.4.450.0200.07019.31
5.4.440.0300.05019.39
5.4.430.0300.05719.30
5.4.420.0230.05719.69
5.4.410.0300.07719.48
5.4.400.0330.04719.31
5.4.390.0400.05019.23
5.4.380.0270.05319.15
5.4.370.0270.05719.31
5.4.360.0300.07019.05
5.4.350.0330.05319.13
5.4.340.0230.06019.28
5.4.320.0430.06719.10
5.4.310.0330.05719.21
5.4.300.0330.05319.07
5.4.290.0270.05319.22
5.4.280.0230.05319.00
5.4.270.0200.06319.22
5.4.260.0370.04318.84
5.4.250.0270.05018.83
5.4.240.0500.06319.14
5.4.230.0370.05719.22
5.4.220.0300.06019.27
5.4.210.0270.06018.98
5.4.200.0330.05318.98
5.4.190.0230.05718.97
5.4.180.0300.04719.29
5.4.170.0330.04719.05
5.4.160.0370.05019.26
5.4.150.0370.04719.29
5.4.140.0270.05316.51
5.4.130.0370.04716.55
5.4.120.0230.05316.51
5.4.110.0300.05016.43
5.4.100.0330.05316.45
5.4.90.0300.04316.50
5.4.80.0300.05316.41
5.4.70.0100.04016.23
5.4.60.0170.04016.53
5.4.50.0000.07316.36
5.4.40.0270.06716.53
5.4.30.0330.04716.34
5.4.20.0270.05316.50

preferences:
60.06 ms | 401 KiB | 5 Q