3v4l.org

run code in 300+ PHP versions simultaneously
<?php class ClassThatKeepsExceptionReference { public function __construct() { $this->exeption_reference = new Exception(); } public function throw_ref() { throw $this->exception_reference; } } (new ClassThatKeepsExceptionReference)->throw_ref();

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.00616.63
8.3.50.0080.01122.00
8.3.40.0110.00418.93
8.3.30.0000.01519.27
8.3.20.0000.00720.31
8.3.10.0040.00421.82
8.3.00.0000.00817.75
8.2.180.0140.00418.50
8.2.170.0140.00318.88
8.2.160.0100.00322.96
8.2.150.0070.00024.18
8.2.140.0080.00024.66
8.2.130.0050.00326.16
8.2.120.0080.00019.36
8.2.110.0040.00420.96
8.2.100.0040.00717.75
8.2.90.0020.00519.13
8.2.80.0080.00017.97
8.2.70.0000.00917.63
8.2.60.0100.00317.78
8.2.50.0030.00618.07
8.2.40.0040.00418.22
8.2.30.0080.00017.91
8.2.20.0000.00717.55
8.2.10.0000.00818.15
8.2.00.0030.00318.37
8.1.280.0140.00425.92
8.1.270.0040.00420.15
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0040.00422.67
8.1.230.0100.00317.42
8.1.220.0030.00617.79
8.1.210.0000.00818.77
8.1.200.0120.00017.23
8.1.190.0040.00417.38
8.1.180.0040.00418.10
8.1.170.0000.00820.19
8.1.160.0000.00721.91
8.1.150.0020.00518.89
8.1.140.0050.00317.37
8.1.130.0000.00717.63
8.1.120.0050.00217.36
8.1.110.0030.00317.27
8.1.100.0000.00717.36
8.1.90.0080.00017.37
8.1.80.0030.00517.47
8.1.70.0030.00317.40
8.1.60.0050.00317.55
8.1.50.0070.00417.50
8.1.40.0050.00317.36
8.1.30.0000.00817.64
8.1.20.0000.00917.69
8.1.10.0050.00217.56
8.1.00.0040.00417.48
8.0.300.0040.00418.77
8.0.290.0040.00416.75
8.0.280.0030.00318.25
8.0.270.0030.00317.19
8.0.260.0000.00617.24
8.0.250.0070.00316.91
8.0.240.0040.00416.94
8.0.230.0050.00316.98
8.0.220.0000.00816.83
8.0.210.0020.00516.85
8.0.200.0030.00516.85
8.0.190.0030.00516.92
8.0.180.0000.00716.89
8.0.170.0040.00416.80
8.0.160.0000.00816.73
8.0.150.0040.00416.88
8.0.140.0070.00016.95
8.0.130.0030.00413.33
8.0.120.0030.00516.91
8.0.110.0050.00316.98
8.0.100.0040.00416.70
8.0.90.0000.00716.93
8.0.80.0040.01216.91
8.0.70.0000.00716.73
8.0.60.0040.00416.82
8.0.50.0040.00416.93
8.0.30.0110.01117.01
8.0.20.0150.00517.40
8.0.10.0030.00517.11
8.0.00.0090.00816.90
7.4.330.0020.00215.11
7.4.320.0000.00816.43
7.4.300.0030.00316.42
7.4.290.0000.00716.50
7.4.280.0040.00416.37
7.4.270.0030.00316.36
7.4.260.0000.00716.47
7.4.250.0000.00716.39
7.4.240.0040.00416.54
7.4.230.0030.00316.27
7.4.220.0130.00316.38
7.4.210.0070.01116.55
7.4.200.0000.00716.34
7.4.160.0070.01016.28
7.4.150.0180.00017.40
7.4.140.0140.00817.86
7.4.130.0060.01116.51
7.4.120.0110.01016.50
7.4.110.0060.01216.39
7.4.100.0090.01316.59
7.4.90.0090.00916.56
7.4.80.0130.01019.39
7.4.70.0120.00616.40
7.4.60.0160.00016.50
7.4.50.0060.00316.60
7.4.40.0100.00716.52
7.4.30.0090.01216.53
7.4.00.0040.00814.78
7.3.330.0020.00313.32
7.3.320.0120.00313.43
7.3.310.0030.00316.26
7.3.300.0030.00316.34
7.3.290.0060.00816.33
7.3.280.0040.01116.40
7.3.270.0120.00817.40
7.3.260.0140.00316.20
7.3.250.0090.00816.52
7.3.240.0030.01316.37
7.3.230.0090.00916.51
7.3.210.0100.00716.31
7.3.200.0060.01219.39
7.3.190.0120.00316.27
7.3.180.0030.01216.49
7.3.170.0070.01016.55
7.3.160.0090.00816.31
7.3.10.0120.00316.63
7.3.00.0140.00016.68
7.2.330.0070.01016.59
7.2.320.0090.00816.34
7.2.310.0070.01016.51
7.2.300.0060.01116.56
7.2.290.0100.01316.67
7.2.130.0110.00316.79
7.2.120.0040.01216.92
7.2.110.0130.00616.80
7.2.100.0100.00316.70
7.2.90.0000.01416.98
7.2.80.0080.00516.67
7.2.70.0080.00316.89
7.2.60.0060.00916.76
7.2.50.0050.00516.93
7.2.40.0000.01416.76
7.2.30.0030.01216.64
7.2.20.0030.01316.62
7.2.10.0070.00716.96
7.2.00.0040.00818.11
7.1.250.0030.01015.83
7.1.200.0100.00315.83
7.1.100.0040.00717.91
7.1.70.0030.00517.14
7.1.60.0120.01219.50
7.1.50.0180.00716.89
7.1.00.0000.08022.40
7.0.200.0030.00616.49
7.0.140.0030.06022.00
7.0.60.0030.08321.74
7.0.50.0030.04017.87
7.0.40.0130.07720.18
7.0.30.0270.05720.06
7.0.20.0230.08020.13
7.0.10.0300.04720.16
7.0.00.0030.07020.19
5.6.280.0000.07720.93
5.6.210.0000.09720.61
5.6.200.0100.07718.14
5.6.190.0030.04720.41
5.6.180.0100.05320.48
5.6.170.0200.04720.39
5.6.160.0030.05320.48
5.6.150.0170.07718.27
5.6.140.0070.04718.27
5.6.130.0100.04018.11
5.6.120.0030.08320.99
5.6.110.0170.07321.06
5.6.100.0070.08721.00
5.6.90.0000.04720.95
5.6.80.0170.07020.29
5.5.350.0300.06020.53
5.5.340.0070.08017.96
5.5.330.0100.03320.46
5.5.320.0330.05020.27
5.5.310.0270.05320.34
5.5.300.0000.09017.98
5.5.290.0070.04317.99
5.5.280.0030.04320.98
5.5.270.0070.08320.76
5.5.260.0170.08020.77
5.5.250.0030.04320.69
5.5.240.0030.07720.07
5.4.450.0200.07019.45
5.4.440.0070.06319.36
5.4.430.0170.05319.58
5.4.420.0170.04719.45
5.4.410.0130.05718.92
5.4.400.0270.06318.76
5.4.390.0300.06018.75
5.4.380.0470.06018.59
5.4.370.0300.07718.50
5.4.360.0400.04718.79
5.4.350.0470.05018.47
5.4.340.0470.05718.56
5.4.320.0530.06318.50
5.4.310.0500.06318.73
5.4.300.0470.05718.74
5.4.290.0500.04318.46
5.4.280.0700.05018.69
5.4.270.0570.06718.77
5.4.260.0370.05018.60
5.4.250.0230.07018.56
5.4.240.0400.06318.46
5.4.230.0270.06018.79
5.4.220.0370.05318.52
5.4.210.0400.05718.46
5.4.200.0400.06016.64
5.4.190.0300.06018.79
5.4.180.0370.05018.73
5.4.170.0300.06318.56
5.4.160.0400.05318.61
5.4.150.0300.05018.70
5.4.140.0300.05316.43
5.4.130.0300.05016.30
5.4.120.0230.05716.32
5.4.110.0230.07716.29
5.4.100.0230.05316.43
5.4.90.0300.05016.45
5.4.80.0270.05316.41
5.4.70.0270.05016.41
5.4.60.0230.05316.32
5.4.50.0270.04716.39
5.4.40.0270.06016.27
5.4.30.0270.04716.41
5.4.20.0270.07316.25
5.4.10.0230.05316.40
5.4.00.0370.04315.72
5.3.290.0270.05314.74
5.3.280.0270.05014.72
5.3.270.0330.06714.63
5.3.260.0270.05014.63
5.3.250.0230.05014.67
5.3.240.0270.05714.64
5.3.230.0270.05014.65
5.3.220.0330.04314.61
5.3.210.0230.05714.79
5.3.200.0330.04714.61
5.3.190.0200.06014.62
5.3.180.0270.05314.60
5.3.170.0270.05014.75
5.3.160.0270.05014.61
5.3.150.0230.05714.61
5.3.140.0330.04014.58
5.3.130.0300.04714.71
5.3.120.0300.04714.77
5.3.110.0370.04314.77
5.3.100.0200.05014.12
5.3.90.0230.05314.06
5.3.80.0270.05014.19
5.3.70.0330.04014.05
5.3.60.0300.04714.06
5.3.50.0230.04714.02
5.3.40.0330.04714.01
5.3.30.0300.04314.03
5.3.20.0270.06313.82
5.3.10.0300.04313.71
5.3.00.0170.06013.63
5.2.170.0170.04711.17
5.2.160.0130.04711.19
5.2.150.0270.03311.16
5.2.140.0170.04711.25
5.2.130.0170.04311.08
5.2.120.0270.04011.16
5.2.110.0230.04311.20
5.2.100.0170.04311.21
5.2.90.0270.04011.05
5.2.80.0170.04711.14
5.2.70.0300.03311.17
5.2.60.0200.04311.05
5.2.50.0270.05711.07
5.2.40.0070.05011.02
5.2.30.0200.04010.97
5.2.20.0200.04710.99
5.2.10.0170.05711.07
5.2.00.0200.03710.93
5.1.60.0170.03710.07
5.1.50.0270.03310.19
5.1.40.0170.03710.01
5.1.30.0200.03710.36
5.1.20.0100.04310.41
5.1.10.0170.03710.13
5.1.00.0170.03710.11
5.0.50.0100.0308.64
5.0.40.0100.0278.49
5.0.30.0100.0438.27
5.0.20.0100.0278.30
5.0.10.0100.0278.27
5.0.00.0070.0478.27
4.4.90.0130.0205.90
4.4.80.0100.0205.88
4.4.70.0100.0205.91
4.4.60.0100.0235.96
4.4.50.0130.0335.89
4.4.40.0070.0375.93
4.4.30.0130.0205.91
4.4.20.0100.0305.95
4.4.10.0030.0306.02
4.4.00.0130.0305.92
4.3.110.0830.0275.83
4.3.100.0730.0275.80
4.3.90.0070.0205.88
4.3.80.0130.0305.77
4.3.70.0170.0175.76
4.3.60.0130.0205.89
4.3.50.0130.0235.82
4.3.40.0070.0375.77
4.3.30.0230.0234.55
4.3.20.0030.0234.53
4.3.10.0070.0204.50
4.3.00.0030.0237.09

preferences:
49.28 ms | 401 KiB | 5 Q