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.4.120.0140.00620.51
8.4.110.0190.00120.46
8.4.100.0040.01017.93
8.4.90.0090.01218.22
8.4.80.0120.00720.70
8.4.70.0140.00618.05
8.4.60.0140.00718.02
8.4.50.0040.00424.10
8.4.40.0120.00824.16
8.4.30.0060.00319.60
8.4.20.0100.01017.98
8.4.10.0100.01019.52
8.3.250.0130.00518.86
8.3.240.0110.00916.74
8.3.230.0040.00416.76
8.3.220.0110.00719.21
8.3.210.0110.00716.97
8.3.200.0140.00816.40
8.3.190.0080.01216.96
8.3.180.0130.00716.75
8.3.170.0070.00318.90
8.3.160.0030.01617.25
8.3.150.0110.00717.28
8.3.140.0080.00016.76
8.3.130.0160.00018.71
8.3.120.0070.01020.59
8.3.110.0030.00620.94
8.3.100.0060.00324.06
8.3.90.0090.00926.77
8.3.80.0030.00619.36
8.3.70.0160.00616.75
8.3.60.0150.00318.68
8.3.50.0110.00516.31
8.3.40.0120.00618.77
8.3.30.0110.00418.67
8.3.20.0080.00019.01
8.3.10.0040.00421.59
8.3.00.0060.00319.35
8.2.290.0100.00820.33
8.2.280.0050.00316.56
8.2.270.0060.01316.51
8.2.260.0060.00316.57
8.2.250.0040.00416.82
8.2.240.0040.00417.35
8.2.230.0090.00022.58
8.2.220.0030.00637.54
8.2.210.0100.00326.77
8.2.200.0070.00718.88
8.2.190.0120.00616.63
8.2.180.0120.00616.63
8.2.170.0130.00322.96
8.2.160.0030.01020.34
8.2.150.0080.00025.66
8.2.140.0060.00324.66
8.2.130.0030.00520.39
8.2.120.0040.00426.35
8.2.110.0060.00321.11
8.2.100.0100.00317.97
8.2.90.0050.00319.19
8.2.80.0040.00417.97
8.2.70.0000.00817.50
8.2.60.0100.00017.80
8.2.50.0040.00418.10
8.2.40.0030.00522.31
8.2.30.0040.00419.17
8.2.20.0040.00418.04
8.2.10.0000.00818.05
8.2.00.0000.00718.05
8.1.330.0130.00516.88
8.1.320.0080.01117.69
8.1.310.0080.00818.02
8.1.300.0090.00018.50
8.1.290.0070.00330.84
8.1.280.0040.01125.92
8.1.270.0040.00422.24
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0080.00023.97
8.1.230.0040.00817.42
8.1.220.0060.00317.74
8.1.210.0000.00918.77
8.1.200.0040.00417.35
8.1.190.0030.00517.25
8.1.180.0040.00418.10
8.1.170.0090.00018.65
8.1.160.0040.00418.86
8.1.150.0000.00820.52
8.1.140.0090.00019.43
8.1.130.0000.00717.32
8.1.120.0080.00017.40
8.1.110.0040.00417.36
8.1.100.0070.00017.36
8.1.90.0040.00717.27
8.1.80.0040.00317.41
8.1.70.0000.00717.38
8.1.60.0050.00317.50
8.1.50.0040.00417.34
8.1.40.0040.00417.45
8.1.30.0080.00017.59
8.1.20.0040.00417.54
8.1.10.0040.00417.48
8.1.00.0040.00417.44
8.0.300.0040.00418.77
8.0.290.0030.00516.63
8.0.280.0040.00418.38
8.0.270.0000.00817.11
8.0.260.0030.00316.82
8.0.250.0030.00316.86
8.0.240.0030.00316.82
8.0.230.0030.00316.93
8.0.220.0000.00716.78
8.0.210.0000.00716.91
8.0.200.0000.00616.91
8.0.190.0000.00816.96
8.0.180.0000.00816.84
8.0.170.0000.00716.85
8.0.160.0030.00516.75
8.0.150.0000.00716.94
8.0.140.0040.00416.80
8.0.130.0000.00513.34
8.0.120.0040.00416.80
8.0.110.0040.00416.73
8.0.100.0050.00316.80
8.0.90.0030.00516.78
8.0.80.0140.00616.99
8.0.70.0040.00416.82
8.0.60.0050.00316.91
8.0.50.0040.00416.84
8.0.30.0070.00817.13
8.0.20.0110.01017.40
8.0.10.0070.00016.82
8.0.00.0110.00716.68
7.4.330.0000.00515.55
7.4.320.0060.00016.49
7.4.300.0000.00616.34
7.4.290.0080.00716.44
7.4.280.0040.00316.53
7.4.270.0000.00716.58
7.4.260.0060.00013.17
7.4.250.0070.00016.38
7.4.240.0070.00016.38
7.4.230.0000.00716.54
7.4.220.0120.00616.55
7.4.210.0030.01016.56
7.4.200.0040.00416.54
7.4.160.0060.01016.31
7.4.150.0100.00617.40
7.4.140.0100.00917.86
7.4.130.0120.01216.52
7.4.120.0110.00716.49
7.4.110.0040.01416.38
7.4.100.0060.01016.48
7.4.90.0090.00816.39
7.4.80.0030.01319.39
7.4.70.0180.00016.41
7.4.60.0040.01216.43
7.4.50.0100.00716.55
7.4.40.0140.00316.37
7.4.30.0100.00616.29
7.4.00.0060.00914.71
7.3.330.0050.00013.20
7.3.320.0000.00513.18
7.3.310.0080.00016.31
7.3.300.0060.00016.37
7.3.290.0060.00816.40
7.3.280.0080.00816.34
7.3.270.0120.00417.40
7.3.260.0110.00616.48
7.3.250.0130.00716.38
7.3.240.0070.01116.36
7.3.230.0060.01216.41
7.3.210.0000.01716.50
7.3.200.0140.00316.43
7.3.190.0030.01716.56
7.3.180.0080.00816.66
7.3.170.0060.01516.66
7.3.160.0050.01116.52
7.2.330.0070.01216.63
7.2.320.0130.00616.68
7.2.310.0040.01416.53
7.2.300.0060.01216.76
7.2.290.0100.00716.85
7.2.60.0080.00616.92
7.1.200.0030.00715.86
7.1.70.3500.01315.23
7.1.60.2600.01032.95
7.1.50.1170.01033.01
7.1.40.3800.01332.46
7.1.30.5230.01732.68
7.1.20.3400.01732.44
7.1.10.2670.01314.58
7.1.00.0030.01714.73
7.0.200.2600.01014.64
7.0.190.4400.01314.91
7.0.180.4230.01014.46
7.0.170.6130.01014.43
7.0.160.4200.01014.37
7.0.150.2430.01314.64
7.0.140.0070.01014.57
7.0.130.0170.01714.56
7.0.120.0100.01014.54
7.0.110.0030.02014.25
7.0.100.0100.01314.50
7.0.90.0070.01314.34
7.0.80.0030.03314.46
7.0.70.2770.01314.36
7.0.60.0100.01014.07
7.0.50.0130.00714.56
7.0.40.0070.01314.81
7.0.30.0000.01714.50
7.0.20.4330.01314.72
7.0.10.4270.00714.59
7.0.00.4670.01714.77

preferences:
120.21 ms | 403 KiB | 5 Q