3v4l.org

run code in 300+ PHP versions simultaneously
<?php class UberException extends Exception { public function __construct() { $refTrace = new ReflectionProperty('Exception', 'trace'); $refTrace->setAccessible(true); $refTrace->setValue($this, array('data')); } } try { throw new UberException(); } catch (Exception $e) { var_dump($e->getTrace()); throw $e; }

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.00716.48
8.3.50.0130.00622.04
8.3.40.0180.00018.71
8.3.30.0070.00719.01
8.3.20.0050.00320.29
8.3.10.0080.00023.61
8.3.00.0100.00017.50
8.2.180.0110.00716.50
8.2.170.0110.00322.96
8.2.160.0070.01320.52
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0140.00726.16
8.2.120.0050.00222.26
8.2.110.0040.00422.25
8.2.100.0040.00717.72
8.2.90.0040.00419.14
8.2.80.0060.00318.04
8.2.70.0030.00617.63
8.2.60.0050.00317.80
8.2.50.0030.00618.07
8.2.40.0040.00419.76
8.2.30.0040.00417.90
8.2.20.0000.00717.69
8.2.10.0040.00418.05
8.2.00.0030.00717.65
8.1.280.0070.00725.92
8.1.270.0070.00423.99
8.1.260.0090.00026.35
8.1.250.0040.00428.09
8.1.240.0060.00323.79
8.1.230.0070.00319.12
8.1.220.0040.00417.74
8.1.210.0030.00618.77
8.1.200.0050.00517.47
8.1.190.0030.00617.53
8.1.180.0110.00018.10
8.1.170.0100.00018.40
8.1.160.0000.00721.88
8.1.150.0040.00418.60
8.1.140.0040.00417.51
8.1.130.0070.00017.74
8.1.120.0050.00317.50
8.1.110.0040.00417.38
8.1.100.0000.00717.30
8.1.90.0020.00517.35
8.1.80.0030.00317.44
8.1.70.0000.00717.39
8.1.60.0030.00617.58
8.1.50.0000.00817.48
8.1.40.0040.00417.50
8.1.30.0000.00817.65
8.1.20.0040.00417.70
8.1.10.0000.00717.57
8.1.00.0040.00417.38
8.0.300.0020.00519.04
8.0.290.0040.00417.05
8.0.280.0000.00718.42
8.0.270.0020.00517.09
8.0.260.0030.00517.17
8.0.250.0030.00316.96
8.0.240.0000.00716.95
8.0.230.0040.00416.86
8.0.220.0000.00716.89
8.0.210.0000.00716.90
8.0.200.0000.00816.96
8.0.190.0050.00316.97
8.0.180.0050.00516.83
8.0.170.0080.00016.93
8.0.160.0000.00817.01
8.0.150.0000.00716.93
8.0.140.0050.00216.84
8.0.130.0030.00313.30
8.0.120.0040.00416.80
8.0.110.0040.00416.94
8.0.100.0040.00416.73
8.0.90.0000.00916.98
8.0.80.0140.00716.94
8.0.70.0000.00716.80
8.0.60.0000.00716.89
8.0.50.0000.00816.75
8.0.30.0100.01217.17
8.0.20.0120.00917.40
8.0.10.0070.00017.07
8.0.00.0130.00416.79
7.4.330.0050.00015.08
7.4.320.0000.00616.50
7.4.300.0000.00616.50
7.4.290.0000.00716.49
7.4.280.0040.00416.50
7.4.270.0000.00716.52
7.4.260.0070.00016.43
7.4.250.0030.00516.36
7.4.240.0040.00416.55
7.4.230.0080.00016.52
7.4.220.0030.01316.44
7.4.210.0080.01016.49
7.4.200.0070.00016.63
7.4.190.0030.00316.36
7.4.160.0090.00616.66
7.4.150.0120.00817.40
7.4.140.0110.00617.86
7.4.130.0090.00916.56
7.4.120.0110.00616.49
7.4.110.0180.00616.54
7.4.100.0150.00716.53
7.4.90.0120.00616.41
7.4.80.0070.01119.39
7.4.70.0140.00316.44
7.4.60.0040.01416.36
7.4.50.0050.00316.48
7.4.40.0100.00322.77
7.4.30.0160.00016.73
7.4.00.0000.01314.70
7.3.330.0030.00313.15
7.3.320.0000.00513.37
7.3.310.0030.00316.33
7.3.300.0000.00716.17
7.3.290.0070.01016.36
7.3.280.0100.00716.38
7.3.270.0040.01417.40
7.3.260.0110.00716.45
7.3.250.0090.01216.44
7.3.240.0130.00816.46
7.3.230.0060.01216.39
7.3.210.0030.01416.34
7.3.200.0180.00919.39
7.3.190.0110.00716.47
7.3.180.0100.00616.57
7.3.170.0120.01316.58
7.3.160.0060.00916.41
7.3.120.0120.00314.97
7.2.330.0120.00616.70
7.2.320.0090.00916.52
7.2.310.0090.00916.61
7.2.300.0130.00316.64
7.2.290.0060.01016.75
7.2.60.0080.00016.91
7.1.200.0050.00515.75
7.1.70.0130.00317.19
7.1.60.0070.01419.46
7.1.50.0070.01716.93
7.1.00.0030.07722.31
7.0.200.0060.00316.80
7.0.140.0200.05321.97
7.0.70.0130.07321.70
7.0.60.0130.07321.87
7.0.50.0030.09022.11
7.0.40.0030.08720.03
7.0.30.0000.04720.10
7.0.20.0030.08720.10
7.0.10.0030.08720.04
7.0.00.0070.08720.09
5.6.280.0030.07320.79
5.6.220.0070.07020.62
5.6.210.0070.07720.75
5.6.200.0000.08320.95
5.6.190.0030.07721.09
5.6.180.0070.07721.09
5.6.170.0070.08021.03
5.6.160.0030.05021.09
5.6.150.0100.08021.14
5.6.140.0100.08321.02
5.6.130.0000.05321.04
5.6.120.0070.08321.13
5.6.110.0070.06320.95
5.6.100.0070.06321.01
5.6.90.0100.07721.06
5.6.80.0030.07320.47
5.6.70.0070.05720.41
5.6.60.0100.07720.39
5.6.50.0030.05320.47
5.6.40.0070.07720.54
5.6.30.0070.07320.32
5.6.20.0070.08020.31
5.6.10.0030.07720.44
5.6.00.0000.06720.36
5.5.360.0030.07720.45
5.5.350.0030.08020.47
5.5.340.0070.08320.77
5.5.330.0030.08720.93
5.5.320.0030.09020.91
5.5.310.0100.07320.93
5.5.300.0130.07320.80
5.5.290.0030.07020.81
5.5.280.0030.08720.80
5.5.270.0030.07720.86
5.5.260.0170.07320.63
5.5.250.0100.07320.59
5.5.240.0000.05720.12
5.5.230.0030.05020.21
5.5.220.0070.08020.21
5.5.210.0000.05320.26
5.5.200.0070.07720.24
5.5.190.0000.08720.27
5.5.180.0030.06320.13
5.5.160.0030.07320.27
5.5.150.0070.08020.11
5.5.140.0130.05320.28
5.5.130.0030.07720.21
5.5.120.0030.08020.15
5.5.110.0130.06720.22
5.5.100.0000.07019.92
5.5.90.0030.08319.95
5.5.80.0070.05720.07
5.5.70.0000.04320.07
5.5.60.0000.07720.03
5.5.50.0070.07720.14
5.5.40.0000.05320.06
5.5.30.0000.08320.03
5.5.20.0000.09020.11
5.5.10.0100.06019.96
5.5.00.0030.05320.06
5.4.450.0030.06319.37
5.4.440.0070.07719.36
5.4.430.0100.07319.41
5.4.420.0070.08019.41
5.4.410.0130.07019.23
5.4.400.0000.08019.23
5.4.390.0030.07018.84
5.4.380.0000.07319.23
5.4.370.0030.07718.85
5.4.360.0100.07019.13
5.4.350.0030.05019.21
5.4.340.0000.05319.18
5.4.320.0030.07319.23
5.4.310.0070.04318.87
5.4.300.0000.05319.11
5.4.290.0100.06319.22
5.4.280.0030.08319.06
5.4.270.0070.07718.90
5.4.260.0030.07718.84
5.4.250.0100.06719.14
5.4.240.0030.05019.15
5.4.230.0000.07719.09
5.4.220.0030.04019.18
5.4.210.0000.06718.89
5.4.200.0170.05318.94
5.4.190.0070.07319.14
5.4.180.0030.07019.11
5.4.170.0030.07319.03
5.4.160.0000.08018.92
5.4.150.0030.08019.00
5.4.140.0000.05016.42
5.4.130.0000.05716.45
5.4.120.0030.03716.41
5.4.110.0000.07716.29
5.4.100.0100.06716.45
5.4.90.0070.05016.45
5.4.80.0000.07316.35
5.4.70.0000.07016.34
5.4.60.0030.07316.35
5.4.50.0070.06316.25
5.4.40.0030.04716.34
5.4.30.0100.06716.36
5.4.20.0030.06316.37
5.4.10.0030.07316.34
5.4.00.0000.04015.63
5.3.290.0070.07314.71
5.3.280.0030.04014.60
5.3.270.0070.07714.67
5.3.260.0000.08014.64
5.3.250.0070.07314.66
5.3.240.0000.04014.56
5.3.230.0100.07014.53
5.3.220.0030.04314.68
5.3.210.0070.08014.62
5.3.200.0070.07314.55
5.3.190.0030.07714.62
5.3.180.0030.07714.63
5.3.170.0070.06014.67
5.3.160.0030.06314.68
5.3.150.0100.06714.59
5.3.140.0000.07014.32
5.3.130.0030.07714.38
5.3.120.0030.03714.35
5.3.110.0030.07714.51
5.3.100.0030.07013.94
5.3.90.0070.05013.82
5.3.80.0000.07314.01
5.3.70.0030.07313.94
5.3.60.0070.07013.74
5.3.50.0000.08013.85
5.3.40.0030.07313.94
5.3.30.0030.07013.81
5.3.20.0030.07713.53
5.3.10.0030.06013.40
5.3.00.0070.07313.74
5.2.170.0070.06012.15
5.2.160.0000.05312.15
5.2.150.0030.06012.15
5.2.140.0030.05312.15
5.2.130.0000.06012.15
5.2.120.0030.06012.15
5.2.110.0070.05712.15
5.2.100.0070.06312.15
5.2.90.0000.04012.15
5.2.80.0030.06012.15
5.2.70.0070.06012.15
5.2.60.0000.06312.15
5.2.50.0000.05012.15
5.2.40.0030.06012.15
5.2.30.0070.06312.15
5.2.20.0070.05312.15
5.2.10.0000.06312.15
5.2.00.0070.05712.15
5.1.60.0000.03712.15
5.1.50.0000.05312.15
5.1.40.0000.05012.15
5.1.30.0030.06012.15
5.1.20.0000.04312.15
5.1.10.0030.05012.15
5.1.00.0030.05012.15
5.0.50.0000.04712.15
5.0.40.0030.02712.15
5.0.30.0100.04712.15
5.0.20.0000.03012.15
5.0.10.0000.04712.15
5.0.00.0000.06312.15
4.4.90.0000.04012.15
4.4.80.0000.03312.15
4.4.70.0070.03012.15
4.4.60.0000.03712.15
4.4.50.0000.03312.15
4.4.40.0000.05712.15
4.4.30.0030.03312.15
4.4.20.0000.02012.15
4.4.10.0000.02312.15
4.4.00.0000.03712.15
4.3.110.0030.03312.15
4.3.100.0030.03012.15
4.3.90.0030.01712.15
4.3.80.0000.05012.15
4.3.70.0000.03312.15
4.3.60.0000.03312.15
4.3.50.0000.02312.15
4.3.40.0000.04312.15
4.3.30.0030.02012.15
4.3.20.0000.01712.15
4.3.10.0000.02012.15
4.3.00.0070.03312.15

preferences:
47.59 ms | 401 KiB | 5 Q