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); } } 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.70.0110.00716.88
8.3.60.0190.00318.28
8.3.50.0080.00916.58
8.3.40.0170.00018.74
8.3.30.0030.01218.67
8.3.20.0040.00418.98
8.3.10.0040.00421.90
8.3.00.0000.00819.47
8.2.180.0100.01016.75
8.2.170.0090.00622.96
8.2.160.0130.00720.35
8.2.150.0000.00924.18
8.2.140.0080.00024.66
8.2.130.0040.00422.27
8.2.120.0000.00826.35
8.2.110.0120.00620.99
8.2.100.0090.00717.76
8.2.90.0040.00419.34
8.2.80.0040.00417.97
8.2.70.0000.00817.55
8.2.60.0060.00318.02
8.2.50.0040.00418.10
8.2.40.0070.00020.77
8.2.30.0040.00420.95
8.2.20.0040.00417.92
8.2.10.0040.00417.93
8.2.00.0040.00418.11
8.1.280.0150.00025.92
8.1.270.0040.00422.08
8.1.260.0030.00526.35
8.1.250.0080.00028.09
8.1.240.0100.00722.22
8.1.230.0080.00420.64
8.1.220.0040.00417.74
8.1.210.0000.00918.77
8.1.200.0080.00017.35
8.1.190.0040.00417.23
8.1.180.0040.00418.10
8.1.170.0000.00818.50
8.1.160.0000.00719.05
8.1.150.0040.00420.61
8.1.140.0060.00319.58
8.1.130.0030.00318.83
8.1.120.0000.00817.37
8.1.110.0070.00017.43
8.1.100.0000.00717.28
8.1.90.0040.00417.30
8.1.80.0040.00417.30
8.1.70.0000.00717.34
8.1.60.0070.00017.51
8.1.50.0040.00417.45
8.1.40.0000.00817.48
8.1.30.0030.00617.58
8.1.20.0040.00417.44
8.1.10.0040.00417.52
8.1.00.0050.00317.34
8.0.300.0000.00719.78
8.0.290.0040.00416.75
8.0.280.0070.00018.39
8.0.270.0000.00717.18
8.0.260.0070.00016.81
8.0.250.0000.00716.93
8.0.240.0000.00816.93
8.0.230.0030.00316.92
8.0.220.0030.00516.79
8.0.210.0000.00716.92
8.0.200.0000.00716.95
8.0.190.0040.00416.91
8.0.180.0070.00016.80
8.0.170.0000.00716.95
8.0.160.0100.00316.98
8.0.150.0070.00016.80
8.0.140.0050.00216.88
8.0.130.0000.00513.32
8.0.120.0040.00416.96
8.0.110.0030.00317.00
8.0.100.0040.00416.90
8.0.90.0030.00516.79
8.0.80.0070.00716.90
8.0.70.0000.00716.89
8.0.60.0040.00416.84
8.0.50.0000.00716.85
8.0.30.0030.01317.13
8.0.20.0100.00917.40
8.0.10.0040.00416.89
8.0.00.0120.00816.67
7.4.330.0050.00015.55
7.4.320.0000.00616.43
7.4.300.0070.00016.30
7.4.290.0040.00416.54
7.4.280.0080.00016.57
7.4.270.0000.00816.37
7.4.260.0000.00613.11
7.4.250.0000.00816.49
7.4.240.0040.00416.39
7.4.230.0000.00716.57
7.4.220.0070.01416.39
7.4.210.0080.00616.63
7.4.200.0040.00416.62
7.4.160.0130.00516.53
7.4.150.0100.01017.40
7.4.140.0100.01017.86
7.4.130.0130.00616.47
7.4.120.0100.00816.42
7.4.110.0030.01316.43
7.4.100.0060.01116.41
7.4.90.0070.01016.59
7.4.80.0130.00319.39
7.4.70.0160.00616.66
7.4.60.0100.00716.51
7.4.50.0120.00316.24
7.4.40.0110.00616.52
7.4.30.0140.00316.56
7.4.00.0050.01214.93
7.3.330.0000.00513.29
7.3.320.0000.00613.19
7.3.310.0030.00316.27
7.3.300.0070.00016.39
7.3.290.0070.00916.36
7.3.280.0100.00816.39
7.3.270.0070.01017.40
7.3.260.0210.00016.49
7.3.250.0090.01116.47
7.3.240.0140.00316.49
7.3.230.0120.00916.57
7.3.210.0060.01216.50
7.3.200.0130.00716.34
7.3.190.0120.00616.39
7.3.180.0040.01216.53
7.3.170.0190.00016.32
7.3.160.0100.00716.49
7.3.120.0040.01414.70
7.3.110.0090.00914.54
7.3.100.0070.00714.96
7.3.90.0030.00914.89
7.3.80.0040.00414.77
7.3.70.0090.00614.73
7.3.60.0100.00014.86
7.3.50.0130.00314.99
7.3.40.0050.00914.62
7.3.30.0040.01114.84
7.3.20.0070.00316.60
7.3.10.0060.00916.49
7.3.00.0030.01016.49
7.2.330.0090.00916.58
7.2.320.0140.00316.72
7.2.310.0110.00616.74
7.2.300.0140.00716.44
7.2.290.0140.01916.59
7.2.250.0030.01614.93
7.2.240.0140.00715.12
7.2.230.0040.00814.86
7.2.220.0030.01014.79
7.2.210.0040.01115.05
7.2.200.0060.01014.84
7.2.190.0000.01114.97
7.2.180.0130.00314.84
7.2.170.0110.00015.01
7.2.60.0070.00416.86
7.2.50.0060.00316.72
7.1.330.0060.01015.71
7.1.320.0080.00815.76
7.1.310.0040.00715.77
7.1.300.0060.00615.44
7.1.290.0060.01015.63
7.1.280.0060.00615.67
7.1.270.0060.00915.65
7.1.260.0070.00715.66
7.1.200.0070.00715.52
7.1.70.0000.00817.27
7.1.60.0030.00717.12
7.1.50.0000.01017.04
7.1.40.0040.00816.47
7.1.30.0040.00716.64
7.1.20.0070.00316.52
7.1.10.0040.00416.51
7.1.00.0000.00816.90
7.0.200.0030.00316.93
7.0.190.0070.00016.49
7.0.180.0000.01016.34
7.0.170.0050.00216.43
7.0.160.0060.00316.20
7.0.150.0000.00716.24
7.0.140.0040.00416.25
7.0.130.0000.00916.48
7.0.120.0000.00816.55
7.0.110.0090.00316.41
7.0.100.0000.00716.29
7.0.90.0040.00416.51
7.0.80.0000.01016.34
7.0.70.0090.00316.34
7.0.60.0000.00715.94
7.0.50.0000.01016.45
7.0.40.0040.01114.71
7.0.30.0110.00014.71
7.0.20.0030.00714.71
7.0.10.0000.01014.71
7.0.00.0030.00914.71

preferences:
43.17 ms | 401 KiB | 5 Q