3v4l.org

run code in 300+ PHP versions simultaneously
<? class Test { /** * Test constructor. * @throws Exception */ public function __construct() { throw new Exception; } } /** * @throws Exception */ new Test(); ?>

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.0070.01118.18
8.3.50.0170.00017.89
8.3.40.0110.01118.68
8.3.30.0150.00718.60
8.3.20.0040.00421.54
8.3.10.0070.00021.61
8.3.00.0040.00419.69
8.2.180.0100.00716.36
8.2.170.0100.01022.96
8.2.160.0100.00322.31
8.2.150.0030.00524.18
8.2.140.0040.00424.66
8.2.130.0030.00526.16
8.2.120.0030.00719.24
8.2.110.0040.00819.39
8.2.100.0040.00817.66
8.2.90.0040.00418.03
8.2.80.0000.00818.09
8.2.70.0040.00419.25
8.2.60.0080.00017.50
8.2.50.0060.00318.22
8.2.40.0040.00420.59
8.2.30.0000.00718.99
8.2.20.0060.00317.92
8.2.10.0080.00017.91
8.2.00.0060.00317.79
8.1.280.0130.00325.92
8.1.270.0040.01123.85
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0060.00323.92
8.1.230.0080.00420.89
8.1.220.0000.00817.74
8.1.210.0040.00418.77
8.1.200.0030.00517.10
8.1.190.0040.00417.11
8.1.180.0040.00418.10
8.1.170.0000.00818.51
8.1.160.0000.00718.68
8.1.150.0040.00420.72
8.1.140.0020.00517.49
8.1.130.0040.00418.80
8.1.120.0070.00017.21
8.1.110.0000.00717.29
8.1.100.0040.00417.34
8.1.90.0040.00417.32
8.1.80.0070.00017.20
8.1.70.0040.00417.24
8.1.60.0000.00817.31
8.1.50.0000.00817.34
8.1.40.0000.00717.38
8.1.30.0060.00317.47
8.1.20.0040.00417.51
8.1.10.0030.00617.30
8.1.00.0040.00417.33
8.0.300.0040.00420.03
8.0.290.0070.00016.63
8.0.280.0030.00318.36
8.0.270.0070.00017.14
8.0.260.0000.00617.11
8.0.250.0000.00616.81
8.0.240.0040.00416.77
8.0.230.0070.00016.87
8.0.220.0000.00716.74
8.0.210.0000.00716.72
8.0.200.0060.00316.84
8.0.190.0030.00316.79
8.0.180.0040.00416.70
8.0.170.0070.00316.75
8.0.160.0070.00016.71
8.0.150.0070.00016.65
8.0.140.0030.00316.62
8.0.130.0000.00613.38
8.0.120.0000.00716.74
8.0.110.0030.00316.63
8.0.100.0040.00416.70
8.0.90.0030.00316.62
8.0.80.0040.01116.81
8.0.70.0040.00416.62
8.0.60.0070.00016.75
8.0.50.0040.00416.63
8.0.30.0080.01016.96
8.0.20.0130.00817.40
8.0.10.0040.00416.74
8.0.00.0090.01116.63
7.4.330.0000.00415.55
7.4.320.0060.00016.35
7.4.300.0000.00616.46
7.4.290.0000.00716.41
7.4.280.0040.00416.35
7.4.270.0030.00316.37
7.4.260.0000.00716.37
7.4.250.0040.00416.46
7.4.240.0000.00716.29
7.4.230.0040.00416.36
7.4.220.0050.00316.45
7.4.210.0080.01016.53
7.4.200.0070.00016.27
7.4.160.0080.01216.40
7.4.140.0100.00717.86
7.4.130.0100.00716.33
7.4.120.0100.00816.41
7.4.110.0110.00616.44
7.4.100.0180.00416.54
7.4.90.0100.00716.31
7.4.80.0110.00719.39
7.4.70.0060.01216.27
7.4.60.0060.00916.46
7.4.50.0110.00416.32
7.4.40.0110.00516.32
7.4.00.0070.01114.97
7.3.330.0030.00313.18
7.3.320.0050.00013.33
7.3.310.0030.00315.99
7.3.300.0050.00216.12
7.3.290.0000.00715.93
7.3.280.0070.00816.09
7.3.260.0130.00616.19
7.3.240.0060.01016.27
7.3.230.0160.00316.09
7.3.210.0080.00816.52
7.3.200.0080.00816.47
7.3.190.0040.01216.53
7.3.180.0060.01216.46
7.3.170.0160.00016.13
7.3.160.0040.01116.35
7.2.330.0090.00916.30
7.2.320.0000.01816.62
7.2.310.0060.01216.37
7.2.300.0070.01116.44
7.2.290.0160.00316.57
7.2.60.0080.00816.98
7.2.40.0840.01217.88
7.2.30.1410.00917.57
7.2.20.0650.01317.73
7.2.10.1090.01317.88
7.2.00.0960.01017.95
7.1.200.0030.01015.44
7.1.160.0840.01016.54
7.1.150.0870.00816.86
7.1.140.0870.01116.42
7.1.130.0670.00916.41
7.1.120.1240.01016.71
7.1.110.0690.01115.99
7.1.100.0690.01116.11
7.1.90.0840.01116.09
7.1.80.0730.00916.03
7.1.70.0700.01215.39
7.1.60.1010.01233.10
7.1.50.1160.02132.61
7.1.40.0950.01132.41
7.1.30.1000.01532.46
7.1.20.0910.01432.70
7.1.10.1050.01114.67
7.1.00.0790.01114.69

preferences:
31.21 ms | 400 KiB | 5 Q