3v4l.org

run code in 300+ PHP versions simultaneously
<?php class JeromeException extends Exception { protected $boobies = []; function __construct($message = null, $code = 0, Exception $previous = null, $arrayOfBoobies = []) { $this->boobies = $arrayOfBoobies; } function getTraceEx() { return $this->getTrace() + $this->boobies; } } function jeromeIsExceptional() { try { throw new JeromeException('herro', 0, null, ['34B', '32C', '36D']); } catch (JeromeException $e) { var_dump($e->getTraceEx()); } } jeromeIsExceptional();

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.0090.00918.36
8.3.50.0130.00821.27
8.3.40.0130.00618.88
8.3.30.0090.00619.17
8.3.20.0080.00020.04
8.3.10.0040.00421.91
8.3.00.0040.00418.96
8.2.180.0120.00318.54
8.2.170.0070.00718.96
8.2.160.0110.00322.96
8.2.150.0080.00024.18
8.2.140.0020.00524.66
8.2.130.0000.00726.16
8.2.120.0040.00419.13
8.2.110.0060.00320.35
8.2.100.0050.00617.78
8.2.90.0000.00719.17
8.2.80.0000.00817.97
8.2.70.0040.00417.50
8.2.60.0030.00617.80
8.2.50.0040.00418.07
8.2.40.0050.00219.45
8.2.30.0030.00518.04
8.2.20.0040.00417.68
8.2.10.0040.00418.13
8.2.00.0050.00217.79
8.1.280.0070.00725.92
8.1.270.0050.00318.83
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0140.00322.17
8.1.230.0070.00418.83
8.1.220.0040.00417.74
8.1.210.0000.00818.77
8.1.200.0000.01217.22
8.1.190.0040.00417.11
8.1.180.0060.00318.10
8.1.170.0050.00318.59
8.1.160.0000.00722.01
8.1.150.0000.00818.94
8.1.140.0030.00517.50
8.1.130.0030.00317.83
8.1.120.0040.00317.51
8.1.110.0000.00817.32
8.1.100.0030.00317.45
8.1.90.0030.00417.42
8.1.80.0070.00017.45
8.1.70.0000.00717.48
8.1.60.0030.00517.57
8.1.50.0030.00617.45
8.1.40.0040.00717.53
8.1.30.0080.00017.63
8.1.20.0050.00317.69
8.1.10.0000.00817.46
8.1.00.0000.00817.39
8.0.300.0000.00820.10
8.0.290.0040.00416.75
8.0.280.0000.00718.33
8.0.270.0000.00817.11
8.0.260.0070.00020.07
8.0.250.0000.00716.99
8.0.240.0000.00816.96
8.0.230.0030.00316.94
8.0.220.0030.00316.80
8.0.210.0040.00416.94
8.0.200.0000.01016.90
8.0.190.0000.00816.95
8.0.180.0070.00016.95
8.0.170.0080.00016.91
8.0.160.0000.00816.83
8.0.150.0000.00716.83
8.0.140.0000.00816.83
8.0.130.0000.00513.38
8.0.120.0040.00416.94
8.0.110.0000.00816.86
8.0.100.0040.00417.01
8.0.90.0040.00416.90
8.0.80.0060.01816.88
8.0.70.0030.00517.02
8.0.60.0020.00517.02
8.0.50.0000.00716.82
8.0.30.0140.00717.15
8.0.20.0100.01017.40
8.0.10.0050.00316.97
8.0.00.0080.01116.57
7.4.330.0000.00715.03
7.4.320.0000.00616.50
7.4.300.0030.00316.58
7.4.290.0070.00016.66
7.4.280.0070.00016.53
7.4.270.0030.00316.53
7.4.260.0080.00416.51
7.4.250.0080.00016.41
7.4.240.0040.00416.58
7.4.230.0040.00416.36
7.4.220.0070.01116.52
7.4.210.0040.01416.46
7.4.200.0070.00016.35
7.4.160.0090.00916.44
7.4.150.0130.00617.40
7.4.140.0070.01417.86
7.4.130.0090.00916.70
7.4.120.0110.00816.61
7.4.110.0080.00916.45
7.4.100.0140.00316.50
7.4.90.0140.00716.62
7.4.80.0110.00819.39
7.4.70.0070.01416.43
7.4.60.0130.00316.50
7.4.50.0000.00816.39
7.4.40.0110.00916.36
7.4.30.0150.00816.59
7.4.00.0070.01114.95
7.3.330.0000.00513.20
7.3.320.0000.00513.36
7.3.310.0000.00716.24
7.3.300.0000.00616.38
7.3.290.0040.01016.41
7.3.280.0070.01116.33
7.3.270.0060.01217.40
7.3.260.0030.01816.41
7.3.250.0050.01316.41
7.3.240.0080.00816.57
7.3.230.0150.00316.50
7.3.210.0070.01116.52
7.3.200.0150.00619.39
7.3.190.0000.01616.48
7.3.180.0050.01116.63
7.3.170.0110.00616.52
7.3.160.0110.00516.47
7.3.10.0070.00716.22
7.3.00.0090.00616.36
7.2.330.0090.00916.68
7.2.320.0140.00816.85
7.2.310.0090.00916.49
7.2.300.0030.01416.78
7.2.290.0070.01016.75
7.2.130.0080.00416.52
7.2.120.0080.00816.55
7.2.110.0000.01416.68
7.2.100.0150.00616.59
7.2.90.0100.01016.69
7.2.80.0120.00416.78
7.2.70.0130.00616.63
7.2.60.0060.00816.76
7.2.50.0080.01316.80
7.2.40.0110.01516.55
7.2.30.0130.00916.97
7.2.20.0090.00916.79
7.2.10.0180.00016.52
7.2.00.0180.00417.01
7.1.250.0040.01315.40
7.1.200.0040.00815.73
7.1.70.0050.00317.24
7.1.60.0120.00019.22
7.1.50.0070.01134.44
7.1.00.0000.08022.51
7.0.200.0000.00716.68
7.0.140.0000.03722.09
7.0.60.0200.07319.96
7.0.50.0070.03717.72
7.0.40.0070.08020.18
7.0.30.0330.04720.36
7.0.20.0300.08720.30
7.0.10.0100.08320.23
7.0.00.0070.08020.14
5.6.280.0100.06721.10
5.6.210.0030.04720.61
5.6.200.0130.08018.15
5.6.190.0030.04320.62
5.6.180.0100.04720.55
5.6.170.0270.08320.57
5.6.160.0030.07020.48
5.6.150.0070.03718.14
5.6.140.0130.06718.24
5.6.130.0000.07718.15
5.6.120.0170.05321.11
5.6.110.0130.07021.00
5.6.100.0070.03721.14
5.6.90.0030.08320.86
5.6.80.0000.04320.52
5.6.70.0170.07320.53
5.5.350.0100.05720.43
5.5.340.0170.07018.00
5.5.330.0030.04020.13
5.5.320.0230.04320.30
5.5.310.0200.04020.37
5.5.300.0030.07017.96
5.5.290.0100.04717.97
5.5.280.0030.04020.80
5.5.270.0030.04320.77
5.5.260.0130.07020.85
5.5.250.0100.08720.67
5.5.240.0030.07720.29
5.4.450.0270.05319.61
5.4.440.0630.07019.70
5.4.430.0670.06719.52
5.4.420.0730.05719.53
5.4.410.0730.05319.47
5.4.400.0630.05319.01
5.4.390.0800.05019.15
5.4.380.0400.06018.77
5.4.370.0130.07318.78
5.4.360.0370.05018.59
5.4.350.0330.05318.80
5.4.340.0330.05018.58
5.4.320.0300.05718.78
5.4.310.0370.05318.73
5.4.300.0400.05018.57
5.4.290.0300.05018.48
5.4.280.0370.04718.73
5.4.270.0300.04718.80
5.4.260.0270.06018.79
5.4.250.0300.05318.52
5.4.240.0200.06018.61
5.4.230.0300.05018.79
5.4.220.0330.05318.58
5.4.210.0270.05318.77
5.4.200.0270.05316.55
5.4.190.0270.05318.84
5.4.180.0400.06018.73
5.4.170.0300.05718.76
5.4.160.0430.05018.68
5.4.150.0330.05718.76
5.4.140.0400.04716.29
5.4.130.0370.04016.31
5.4.120.0300.05716.27
5.4.110.0400.04716.27
5.4.100.0300.05716.28
5.4.90.0370.05016.41
5.4.80.0230.06016.22
5.4.70.0430.04316.34
5.4.60.0230.05316.43
5.4.50.0230.05316.24
5.4.40.0300.05316.31
5.4.30.0300.05316.27
5.4.20.0330.05016.19
5.4.10.0270.05016.23
5.4.00.0370.04315.76
5.3.290.0300.05714.64
5.3.280.0370.04314.75
5.3.270.0300.05314.80
5.3.260.0270.05714.77
5.3.250.0330.04714.62
5.3.240.0230.06314.73
5.3.230.0270.05014.73
5.3.220.0200.06014.76
5.3.210.0400.05714.59
5.3.200.0230.05714.56
5.3.190.0300.04714.59
5.3.180.0230.05314.61
5.3.170.0270.05314.77
5.3.160.0270.05014.60
5.3.150.0330.05014.74
5.3.140.0230.06014.58
5.3.130.0400.05314.59
5.3.120.0330.04714.72
5.3.110.0270.05714.76
5.3.100.0270.06014.17
5.3.90.0400.05014.15
5.3.80.0300.05714.23
5.3.70.0200.05714.21
5.3.60.0270.05014.05
5.3.50.0370.04013.96
5.3.40.0330.05013.98
5.3.30.0300.04713.92
5.3.20.0300.04713.80
5.3.10.0370.05713.76
5.3.00.0270.05013.66
5.2.170.0270.03711.13
5.2.160.0330.03011.34
5.2.150.0230.04311.14
5.2.140.0330.04311.11
5.2.130.0270.05011.07
5.2.120.0370.03311.15
5.2.110.0270.03711.20
5.2.100.0130.04311.12
5.2.90.0200.05011.22
5.2.80.0430.04011.16
5.2.70.0230.03711.20
5.2.60.0200.04011.12
5.2.50.0170.04311.04
5.2.40.0270.04010.99
5.2.30.0170.04011.02
5.2.20.0170.03711.20
5.2.10.0170.03710.95
5.2.00.0230.03710.73
5.1.60.0170.0339.98
5.1.50.0270.03010.01
5.1.40.0170.03310.05
5.1.30.0170.03710.43
5.1.20.0230.03010.38
5.1.10.0170.04010.18
5.1.00.0270.03310.25
5.0.50.0130.0308.58
5.0.40.0170.0238.45
5.0.30.0130.0438.30
5.0.20.0170.0238.20
5.0.10.0170.0238.19
5.0.00.0070.0508.25
4.4.90.0130.0335.98
4.4.80.0100.0335.86
4.4.70.0070.0335.95
4.4.60.0170.0235.99
4.4.50.0130.0275.90
4.4.40.0100.0335.91
4.4.30.0070.0235.87
4.4.20.0100.0375.95
4.4.10.0100.0235.94
4.4.00.0100.0335.95
4.3.110.0070.0235.88
4.3.100.0130.0175.91
4.3.90.0100.0205.82
4.3.80.0170.0305.84
4.3.70.0130.0175.78
4.3.60.0100.0205.79
4.3.50.0100.0235.91
4.3.40.0170.0275.79
4.3.30.0100.0174.58
4.3.20.0070.0234.55
4.3.10.0030.0204.47
4.3.00.0100.0237.38

preferences:
34.81 ms | 401 KiB | 5 Q