3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo extends Exception { public function __construct() { var_dump('constructed'); } } assert(true, new Foo());

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.43
8.3.50.0110.01021.08
8.3.40.0100.01018.67
8.3.30.0070.00718.46
8.3.20.0040.01120.31
8.3.10.0040.00421.61
8.3.00.0140.00019.56
8.2.180.0110.00616.63
8.2.170.0150.00322.96
8.2.160.0130.00020.44
8.2.150.0120.00324.18
8.2.140.0100.00324.66
8.2.130.0060.01026.16
8.2.120.0060.00317.50
8.2.110.0040.00419.27
8.2.100.0060.00617.50
8.2.90.0050.00218.86
8.2.80.0050.00317.97
8.2.70.0030.00617.38
8.2.60.0000.00717.80
8.2.50.0040.00418.07
8.2.40.0050.00319.25
8.2.30.0000.00720.63
8.2.20.0040.00417.50
8.2.10.0000.00717.93
8.2.00.0070.00017.98
8.1.280.0070.00725.92
8.1.270.0030.00622.15
8.1.260.0100.00726.35
8.1.250.0140.00328.09
8.1.240.0080.00022.66
8.1.230.0070.00317.42
8.1.220.0020.00517.74
8.1.210.0000.00818.77
8.1.200.0000.00917.11
8.1.190.0000.00917.10
8.1.180.0080.00018.10
8.1.170.0080.00018.61
8.1.160.0080.00021.92
8.1.150.0070.00018.77
8.1.140.0080.00017.36
8.1.130.0070.00017.61
8.1.120.0000.00717.44
8.1.110.0050.00217.25
8.1.100.0030.00517.32
8.1.90.0050.00317.35
8.1.80.0000.00817.29
8.1.70.0050.00317.26
8.1.60.0080.00017.53
8.1.50.0070.00017.34
8.1.40.0000.00817.36
8.1.30.0030.00617.48
8.1.20.0040.00417.54
8.1.10.0060.00317.42
8.1.00.0040.00417.33
8.0.300.0000.00718.77
8.0.290.0000.00816.58
8.0.280.0000.00718.25
8.0.270.0070.00017.19
8.0.260.0000.00717.25
8.0.250.0040.00316.94
8.0.240.0000.00716.78
8.0.230.0030.00516.93
8.0.220.0000.00616.77
8.0.210.0050.00316.79
8.0.200.0030.00316.78
8.0.190.0060.00316.79
8.0.180.0000.00716.89
8.0.170.0040.00416.83
8.0.160.0000.01016.81
8.0.150.0000.00816.84
8.0.140.0070.00016.79
8.0.130.0030.00313.25
8.0.120.0080.00016.81
8.0.110.0040.00416.71
8.0.100.0040.00416.71
8.0.90.0000.00716.89
8.0.80.0030.01516.86
8.0.70.0000.00716.71
8.0.60.0050.00216.63
8.0.50.0040.00416.82
8.0.30.0140.00516.85
8.0.20.0070.01317.40
8.0.10.0040.00416.69
8.0.00.0100.00816.64
7.4.330.0050.00015.08
7.4.320.0000.00716.46
7.4.300.0030.00316.43
7.4.290.0060.00316.45
7.4.280.0070.00016.42
7.4.270.0050.00216.45
7.4.260.0030.00316.44
7.4.250.0040.00416.30
7.4.240.0050.00316.43
7.4.230.0000.00616.34
7.4.220.0110.00916.42
7.4.210.0070.01016.63
7.4.200.0030.00516.54
7.4.160.0130.01016.42
7.4.150.0120.00417.40
7.4.140.0100.01217.86
7.4.130.0110.00816.40
7.4.120.0120.00716.31
7.4.110.0120.00616.57
7.4.100.0120.00416.29
7.4.90.0100.00716.36
7.4.80.0070.01119.39
7.4.70.0130.00416.28
7.4.60.0030.01316.46
7.4.50.0040.00016.37
7.4.40.0130.00316.23
7.4.30.0030.01416.13
7.4.00.0130.00314.81
7.3.330.0000.00613.23
7.3.320.0020.00213.20
7.3.310.0000.00716.27
7.3.300.0000.00716.23
7.3.290.0090.00916.19
7.3.280.0140.00516.22
7.3.270.0120.00617.40
7.3.260.0120.00616.31
7.3.250.0100.00716.26
7.3.240.0070.01316.23
7.3.230.0040.01316.39
7.3.210.0000.01716.36
7.3.200.0100.00616.27
7.3.190.0100.01016.18
7.3.180.0120.00315.99
7.3.170.0120.00316.36
7.3.160.0160.00016.30
7.3.120.0090.01214.85
7.3.110.0090.00914.68
7.3.100.0120.00314.59
7.3.90.0100.00614.75
7.3.80.0030.01314.91
7.3.70.0070.01114.67
7.3.60.0000.01514.84
7.3.50.0070.00314.88
7.3.40.0070.00714.70
7.3.30.0000.01114.46
7.3.20.0040.01116.60
7.3.10.0030.00716.28
7.3.00.0040.00716.52
7.2.330.0090.00916.32
7.2.320.0060.01016.46
7.2.310.0110.00616.57
7.2.300.0060.01016.25
7.2.290.0080.01516.53
7.2.250.0070.00715.02
7.2.240.0030.01314.73
7.2.230.0100.00314.73
7.2.220.0040.01514.99
7.2.210.0040.01215.01
7.2.200.0120.00414.81
7.2.190.0090.00015.01
7.2.180.0090.00614.66
7.2.170.0070.01014.91
7.2.60.0060.00616.46
7.2.00.0040.00819.35
7.1.330.0040.01115.67
7.1.320.0070.01015.71
7.1.310.0070.01015.85
7.1.300.0030.01015.32
7.1.290.0070.00715.57
7.1.280.0070.01015.73
7.1.270.0090.00015.56
7.1.260.0000.01215.71
7.1.200.0140.00315.63
7.1.100.0040.00717.68
7.1.70.0060.00317.15
7.1.60.0030.00719.27
7.1.50.0070.01516.93
7.1.00.0100.07022.31
7.0.200.0000.00716.59
7.0.60.0000.06720.04
7.0.50.0070.07017.73
7.0.40.0000.05020.24
7.0.30.0300.08020.07
7.0.20.0230.08020.06
7.0.10.0070.08720.19
7.0.00.0070.09320.29
5.6.280.0030.05021.15
5.6.210.0030.08020.51
5.6.200.0070.08018.16
5.6.190.0130.07720.43
5.6.180.0330.07020.61
5.6.170.0170.05020.57
5.6.160.0070.05320.57
5.6.150.0030.06018.16
5.6.140.0030.05718.24
5.6.130.0130.07718.18
5.6.120.0030.05320.95
5.6.110.0030.08721.11
5.6.100.0130.08020.89
5.6.90.0030.04720.97
5.6.80.0100.04720.51
5.6.70.0030.07720.52
5.5.350.0200.05020.41
5.5.340.0030.04717.99
5.5.330.0030.04020.27
5.5.320.0200.07320.31
5.5.310.0230.04020.26
5.5.300.0030.09017.92
5.5.290.0100.03718.04
5.5.280.0030.04320.73
5.5.270.0030.04020.81
5.5.260.0130.07020.96
5.5.250.0030.07320.69
5.5.240.0270.06720.27
5.4.450.0630.06319.46
5.4.440.0570.05319.46
5.4.430.0570.05719.45
5.4.420.0770.05319.61
5.4.410.0700.05319.07
5.4.400.0630.05019.25
5.4.390.0670.06319.14
5.4.380.0800.07319.30
5.4.370.0530.05319.15
5.4.360.0630.06019.12
5.4.350.0630.04719.11
5.4.340.0500.07719.18
5.4.320.0570.05719.23
5.4.310.0730.04719.13
5.4.300.0670.05019.01
5.4.290.0770.05019.21
5.4.280.0600.05018.86
5.4.270.0630.04718.85
5.4.260.0730.05319.29
5.4.250.0700.06319.13
5.4.240.0670.05719.15
5.4.230.0500.06019.05
5.4.220.0530.06319.15
5.4.210.0700.05018.96
5.4.200.0600.04719.22
5.4.190.0570.05018.97
5.4.180.0700.05719.32
5.4.170.0570.04719.23
5.4.160.0700.06019.11
5.4.150.0830.06319.20
5.4.140.0470.06016.73
5.4.130.0600.05716.47
5.4.120.0600.05716.41
5.4.110.0670.06316.64
5.4.100.0630.05316.61
5.4.90.0900.05316.25
5.4.80.0770.07016.58
5.4.70.0000.06716.26
5.4.60.0000.07016.55
5.4.50.0030.07716.43
5.4.40.0230.03716.53
5.4.30.0270.05716.50
5.4.20.0270.03716.58

preferences:
56.24 ms | 401 KiB | 5 Q