3v4l.org

run code in 300+ PHP versions simultaneously
<?php class AException extends \Exception {} class T extends \RuntimeException{ public function __construct($message, AException $e) { parent::__construct($message, $e->getCode(), $e); } } try { throw new T("CRAP", new AException); } catch (T $e) { var_dump($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.0110.01118.19
8.3.50.0080.00816.39
8.3.40.0120.00618.70
8.3.30.0040.01118.84
8.3.20.0000.00819.15
8.3.10.0080.00021.85
8.3.00.0050.00319.47
8.2.180.0090.01316.87
8.2.170.0060.00922.96
8.2.160.0120.00320.22
8.2.150.0070.00025.66
8.2.140.0000.00724.66
8.2.130.0070.00020.39
8.2.120.0030.00526.35
8.2.110.0100.00019.24
8.2.100.0060.01018.16
8.2.90.0030.00619.09
8.2.80.0000.00918.04
8.2.70.0030.00617.61
8.2.60.0040.00417.80
8.2.50.0000.00818.10
8.2.40.0030.00622.23
8.2.30.0000.00821.00
8.2.20.0070.00017.91
8.2.10.0090.00018.05
8.2.00.0040.00418.00
8.1.280.0170.00325.92
8.1.270.0050.00322.06
8.1.260.0000.00826.35
8.1.250.0000.00828.09
8.1.240.0060.00324.03
8.1.230.0030.00717.42
8.1.220.0040.00417.74
8.1.210.0060.00318.77
8.1.200.0030.00617.23
8.1.190.0040.00417.35
8.1.180.0050.00318.10
8.1.170.0000.00818.50
8.1.160.0000.00719.02
8.1.150.0000.00820.67
8.1.140.0060.00319.45
8.1.130.0030.00318.79
8.1.120.0000.00717.49
8.1.110.0030.00517.42
8.1.100.0040.00417.39
8.1.90.0090.00317.32
8.1.80.0030.00417.50
8.1.70.0030.00317.30
8.1.60.0060.00317.51
8.1.50.0040.00417.57
8.1.40.0080.00017.57
8.1.30.0000.00817.61
8.1.20.0040.00417.62
8.1.10.0000.00817.43
8.1.00.0040.00417.48
8.0.300.0040.00418.77
8.0.290.0040.00416.63
8.0.280.0070.00018.25
8.0.270.0000.00717.20
8.0.260.0000.00816.83
8.0.250.0040.00416.82
8.0.240.0040.00416.99
8.0.230.0030.00316.93
8.0.220.0070.00016.77
8.0.210.0070.00016.78
8.0.200.0000.00616.88
8.0.190.0090.00016.98
8.0.180.0040.00416.78
8.0.170.0040.00416.91
8.0.160.0050.00516.94
8.0.150.0040.00416.89
8.0.140.0000.00716.89
8.0.130.0060.00013.38
8.0.120.0030.00516.88
8.0.110.0040.00417.00
8.0.100.0050.00317.06
8.0.90.0020.00516.98
8.0.80.0030.01316.95
8.0.70.0080.00016.85
8.0.60.0050.00317.04
8.0.50.0040.00416.76
8.0.30.0110.00816.93
8.0.20.0130.00617.40
8.0.10.0030.00317.17
8.0.00.0100.00916.74
7.4.330.0030.00315.55
7.4.320.0070.00016.48
7.4.300.0000.00616.59
7.4.290.0100.00016.36
7.4.280.0000.00916.47
7.4.270.0000.00816.61
7.4.260.0030.00313.17
7.4.250.0040.00416.44
7.4.240.0070.00016.51
7.4.230.0000.00716.36
7.4.220.0040.01516.59
7.4.210.0040.01116.60
7.4.200.0080.00016.34
7.4.160.0110.01016.61
7.4.150.0160.00617.40
7.4.140.0070.01417.86
7.4.130.0120.00716.64
7.4.120.0130.01016.48
7.4.110.0120.00716.57
7.4.100.0100.01316.40
7.4.90.0100.00616.64
7.4.80.0070.01019.39
7.4.70.0170.00816.51
7.4.60.0030.01216.63
7.4.50.0000.01716.21
7.4.40.0090.01316.38
7.4.30.0170.00016.37
7.4.00.0030.01015.01
7.3.330.0030.00313.38
7.3.320.0030.00313.41
7.3.310.0000.00716.39
7.3.300.0040.00316.33
7.3.290.0080.00916.38
7.3.280.0080.00816.40
7.3.270.0060.01017.40
7.3.260.0130.01016.61
7.3.250.0110.00816.46
7.3.240.0140.00716.54
7.3.230.0070.01716.42
7.3.210.0110.00616.40
7.3.200.0060.00916.52
7.3.190.0130.00716.59
7.3.180.0090.00916.63
7.3.170.0100.00716.50
7.3.160.0030.01216.47
7.2.330.0180.00016.46
7.2.320.0090.00916.56
7.2.310.0090.00916.38
7.2.300.0130.01016.71
7.2.290.0150.00716.55
7.2.60.0100.00316.95
7.2.00.0030.01319.36
7.1.200.0030.00715.87
7.1.100.0100.00017.82
7.1.70.0070.03015.18
7.1.60.0170.02333.25
7.1.50.0500.01032.89
7.1.40.2470.02032.48
7.1.30.4000.00732.38
7.1.20.0330.01732.54
7.1.10.1300.01314.61
7.1.00.3270.01314.84
7.0.200.0100.01015.07
7.0.190.2830.00714.95
7.0.180.3330.01014.64
7.0.170.3330.01714.46
7.0.160.5230.01314.63
7.0.150.2700.01314.20
7.0.140.3070.01314.39
7.0.130.3130.01714.75
7.0.120.2500.01314.57
7.0.110.0570.01714.61
7.0.100.2730.01014.41
7.0.90.1170.01314.37
7.0.80.0600.01014.54
7.0.70.3330.01014.53
7.0.60.3430.01314.32
7.0.50.2370.01314.38
7.0.40.2600.01314.50
7.0.30.2970.00314.38
7.0.20.2200.01014.55
7.0.10.1870.01014.46
7.0.00.2070.00714.77

preferences:
63.98 ms | 400 KiB | 5 Q