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); } } throw new T("CRAP", new AException);

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.0130.00618.68
8.3.50.0040.01116.06
8.3.40.0110.00418.79
8.3.30.0040.01118.66
8.3.20.0040.00419.02
8.3.10.0030.00623.53
8.3.00.0050.00319.53
8.2.180.0130.00718.54
8.2.170.0100.00622.96
8.2.160.0180.00020.30
8.2.150.0080.00025.66
8.2.140.0080.00024.66
8.2.130.0080.00022.11
8.2.120.0000.00726.35
8.2.110.0000.00920.96
8.2.100.0120.00618.03
8.2.90.0040.00419.05
8.2.80.0030.00517.97
8.2.70.0040.00417.91
8.2.60.0030.00617.90
8.2.50.0040.00418.10
8.2.40.0000.00922.25
8.2.30.0040.00421.01
8.2.20.0000.00718.06
8.2.10.0040.00418.07
8.2.00.0000.00717.92
8.1.280.0080.00625.92
8.1.270.0040.00422.00
8.1.260.0000.00826.35
8.1.250.0000.00828.09
8.1.240.0150.00622.18
8.1.230.0080.00420.88
8.1.220.0050.00317.74
8.1.210.0000.00818.77
8.1.200.0030.00617.35
8.1.190.0050.00317.10
8.1.180.0060.00318.10
8.1.170.0050.00318.33
8.1.160.0030.00319.00
8.1.150.0030.00520.49
8.1.140.0030.00619.46
8.1.130.0000.00718.79
8.1.120.0000.00717.35
8.1.110.0000.00717.35
8.1.100.0040.00417.36
8.1.90.0000.00717.27
8.1.80.0070.00017.30
8.1.70.0000.00717.34
8.1.60.0040.00417.57
8.1.50.0040.00417.39
8.1.40.0080.00017.44
8.1.30.0040.00417.64
8.1.20.0000.00717.61
8.1.10.0000.00817.42
8.1.00.0000.00717.43
8.0.300.0040.00419.72
8.0.290.0030.00516.58
8.0.280.0040.00418.39
8.0.270.0070.00017.16
8.0.260.0060.00016.83
8.0.250.0030.00317.02
8.0.240.0040.00416.87
8.0.230.0050.00216.87
8.0.220.0040.00416.80
8.0.210.0000.00716.87
8.0.200.0030.00316.97
8.0.190.0050.00317.00
8.0.180.0000.00816.94
8.0.170.0040.00416.98
8.0.160.0080.00416.94
8.0.150.0080.00016.86
8.0.140.0030.00316.90
8.0.130.0000.00613.33
8.0.120.0000.00716.72
8.0.110.0050.00216.80
8.0.100.0040.00416.79
8.0.90.0040.00416.68
8.0.80.0090.00616.83
8.0.70.0000.00716.90
8.0.60.0040.00416.75
8.0.50.0040.00416.78
8.0.30.0100.01017.25
8.0.20.0090.01117.40
8.0.10.0040.00417.03
8.0.00.0090.01616.67
7.4.330.0020.00215.55
7.4.320.0000.00616.41
7.4.300.0030.00316.44
7.4.290.0100.00016.43
7.4.280.0040.00416.59
7.4.270.0030.00316.54
7.4.260.0030.00313.34
7.4.250.0030.00316.46
7.4.240.0000.00816.38
7.4.230.0000.00716.57
7.4.220.0140.01116.46
7.4.210.0000.01516.57
7.4.200.0030.00516.55
7.4.160.0130.00716.40
7.4.150.0140.00317.40
7.4.140.0090.01317.86
7.4.130.0100.01416.65
7.4.120.0140.00716.46
7.4.110.0090.00916.35
7.4.100.0110.00516.51
7.4.90.0100.00716.65
7.4.80.0170.00619.39
7.4.70.0070.01116.57
7.4.60.0090.00616.52
7.4.50.0030.00916.50
7.4.40.0140.00516.38
7.4.30.0000.01616.43
7.4.00.0090.00914.98
7.3.330.0050.00013.37
7.3.320.0000.00613.41
7.3.310.0070.00016.32
7.3.300.0000.00916.38
7.3.290.0090.00816.34
7.3.280.0070.01016.35
7.3.270.0040.01217.40
7.3.260.0120.00816.37
7.3.250.0120.00716.35
7.3.240.0150.00416.35
7.3.230.0160.00316.44
7.3.210.0070.01016.31
7.3.200.0070.01016.43
7.3.190.0080.00816.39
7.3.180.0100.00716.31
7.3.170.0070.01016.34
7.3.160.0060.00916.51
7.3.10.0180.00016.12
7.3.00.0130.00716.49
7.2.330.0030.01416.49
7.2.320.0100.00716.36
7.2.310.0030.01316.39
7.2.300.0120.00916.58
7.2.290.0100.00716.54
7.2.130.0220.00316.50
7.2.120.0090.01116.52
7.2.110.0180.00816.17
7.2.100.0150.01216.62
7.2.90.0230.00516.90
7.2.80.0200.00316.43
7.2.70.0350.00615.86
7.2.60.0200.00816.95
7.2.50.0100.01016.71
7.2.40.0100.01316.50
7.2.30.0130.00616.00
7.2.20.0130.00716.36
7.2.10.0110.00316.49
7.2.00.0120.00916.76
7.1.250.0220.00815.24
7.1.200.0090.00615.63
7.1.70.2570.01715.36
7.1.60.0270.01733.15
7.1.50.2970.01032.82
7.1.40.0200.01732.41
7.1.30.0230.01732.79
7.1.20.0330.01032.60
7.1.10.0100.01014.43
7.1.00.3100.00714.79
7.0.200.0070.01314.83
7.0.190.1700.01014.88
7.0.180.0070.01014.29
7.0.170.0100.01014.56
7.0.160.0070.01014.36
7.0.150.0170.00714.50
7.0.140.0130.00714.26
7.0.130.1400.00714.60
7.0.120.0630.00714.71
7.0.110.1430.01314.26
7.0.100.0030.01314.55
7.0.90.0070.01314.23
7.0.80.0030.01714.57
7.0.70.3770.01314.52
7.0.60.0070.01014.41
7.0.50.3500.01014.41
7.0.40.3630.01314.52
7.0.30.3500.01714.76
7.0.20.0030.02014.69
7.0.10.3900.01014.57
7.0.00.0200.01014.62

preferences:
52.28 ms | 400 KiB | 5 Q