3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { public function __construct($foo) { } } class Bar extends Foo { public function __construct() { } } $b = new Bar(1, 2);

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.0100.01018.31
8.3.50.0110.00721.99
8.3.40.0100.01018.67
8.3.30.0070.01120.27
8.3.20.0080.00018.57
8.3.10.0040.00420.77
8.3.00.0000.00819.56
8.2.180.0110.01116.38
8.2.170.0070.00722.96
8.2.160.0030.01020.40
8.2.150.0000.00724.18
8.2.140.0000.00824.66
8.2.130.0040.00426.16
8.2.120.0080.00019.82
8.2.110.0040.00422.13
8.2.100.0040.00817.78
8.2.90.0040.00419.02
8.2.80.0000.00719.46
8.2.70.0060.00317.50
8.2.60.0000.00717.80
8.2.50.0000.00818.07
8.2.40.0080.00018.03
8.2.30.0030.00719.43
8.2.20.0070.00017.47
8.2.10.0070.00017.48
8.2.00.0040.00417.65
8.1.280.0030.01725.92
8.1.270.0110.00723.99
8.1.260.0040.00426.35
8.1.250.0000.00828.09
8.1.240.0060.00322.41
8.1.230.0040.00720.84
8.1.220.0030.00518.77
8.1.210.0080.00018.77
8.1.200.0060.00317.23
8.1.190.0040.00417.40
8.1.180.0080.00018.10
8.1.170.0030.00618.65
8.1.160.0070.00018.82
8.1.150.0050.00218.56
8.1.140.0040.00417.45
8.1.130.0070.00017.88
8.1.120.0000.00717.43
8.1.110.0000.00717.39
8.1.100.0000.00717.44
8.1.90.0040.00417.40
8.1.80.0030.00517.23
8.1.70.0070.00017.29
8.1.60.0080.00017.57
8.1.50.0000.00817.46
8.1.40.0000.00717.40
8.1.30.0000.00817.57
8.1.20.0030.00517.66
8.1.10.0000.00717.43
8.1.00.0000.00717.33
8.0.300.0110.00019.97
8.0.290.0050.00316.91
8.0.280.0070.00018.37
8.0.270.0070.00017.19
8.0.260.0030.00316.70
8.0.250.0040.00416.76
8.0.240.0080.00016.71
8.0.230.0000.00716.92
8.0.220.0030.00316.79
8.0.210.0030.00316.68
8.0.200.0000.00716.79
8.0.190.0070.00016.88
8.0.180.0040.00416.87
8.0.170.0030.00316.66
8.0.160.0000.00716.89
8.0.150.0030.00316.84
8.0.140.0000.00716.79
8.0.130.0060.00013.20
8.0.120.0040.00416.80
8.0.110.0070.00016.67
8.0.100.0000.00716.61
8.0.90.0020.00516.86
8.0.80.0110.01116.79
8.0.70.0040.00416.81
8.0.60.0040.00416.91
8.0.50.0040.00416.88
8.0.30.0100.01017.01
8.0.20.0100.00917.40
8.0.10.0000.00716.88
8.0.00.0080.01116.55
7.4.330.0000.00516.69
7.4.320.0000.00716.41
7.4.300.0030.00316.38
7.4.290.0000.00716.42
7.4.280.0000.00816.47
7.4.270.0070.00016.63
7.4.260.0000.00513.14
7.4.250.0000.00816.53
7.4.240.0070.00016.50
7.4.230.0030.00316.48
7.4.220.0060.01116.63
7.4.210.0080.00616.58
7.4.200.0040.00416.50
7.4.190.0000.00816.68
7.4.160.0130.00316.55
7.4.150.0090.00917.40
7.4.140.0090.00917.86
7.4.130.0080.00916.35
7.4.120.0090.00916.37
7.4.110.0120.00916.32
7.4.100.0080.01216.50
7.4.90.0120.00616.54
7.4.80.0090.01219.39
7.4.70.0030.01516.68
7.4.60.0070.01016.37
7.4.50.0040.00416.46
7.4.40.0040.01222.77
7.4.30.0100.00716.34
7.4.00.0120.00314.96
7.3.330.0050.00013.07
7.3.320.0000.00513.02
7.3.310.0000.00716.34
7.3.300.0030.00316.25
7.3.290.0120.00316.24
7.3.280.0050.01016.26
7.3.270.0090.00917.40
7.3.260.0130.00918.24
7.3.250.0100.01016.39
7.3.240.0090.00916.16
7.3.230.0030.01416.39
7.3.210.0100.00716.43
7.3.200.0070.01519.39
7.3.190.0110.00616.33
7.3.180.0080.00816.40
7.3.170.0130.00316.27
7.3.160.0100.00716.46
7.3.120.0040.00714.96
7.2.330.0130.00316.48
7.2.320.0060.01616.40
7.2.310.0130.00316.55
7.2.300.0100.00716.66
7.2.290.0120.00316.59
7.2.00.0030.00919.26
7.1.100.0030.01018.07
7.1.70.0030.01017.14
7.1.60.0030.01017.22
7.1.50.0060.01016.88
7.1.40.0110.00416.35
7.1.30.0110.00016.53
7.1.20.0030.01316.62
7.1.10.0040.00416.50
7.1.00.0030.00616.53
7.0.200.0070.00016.66
7.0.190.0000.00816.67
7.0.180.0000.01116.19
7.0.170.0000.00916.09
7.0.160.0000.00716.30
7.0.150.0000.00716.33
7.0.140.0040.01116.46
7.0.130.0000.00716.38
7.0.120.0000.00716.20
7.0.110.0030.01016.44
7.0.100.0030.00716.38
7.0.90.0040.00416.24
7.0.80.0030.00616.25
7.0.70.0030.01116.33
7.0.60.0060.00916.05
7.0.50.0090.00016.50
7.0.40.0000.00914.68
7.0.30.0030.00614.68
7.0.20.0000.00914.68
7.0.10.0040.00414.68
7.0.00.0000.01114.68
5.6.300.0170.07420.86
5.6.290.0100.03620.79
5.6.280.0030.04020.88
5.6.270.0000.04520.88
5.6.260.0000.04621.06
5.6.250.0070.03720.77
5.6.240.0100.03520.93
5.6.230.0000.04420.96
5.6.220.0070.04320.92
5.6.210.0070.04720.97
5.6.200.0030.04420.92
5.6.190.0070.05020.82
5.6.180.0040.04620.98
5.6.170.0070.03920.87
5.6.160.0030.06020.96
5.6.150.0100.08421.01
5.6.140.0000.04720.92
5.6.130.0030.04020.82
5.6.120.0060.03820.82
5.6.110.0030.04220.95
5.6.100.0000.04520.79
5.6.90.0000.04720.79
5.6.80.0000.04420.14
5.6.70.0060.05820.17
5.6.60.0000.04520.41
5.6.50.0130.04020.37
5.6.40.0060.03520.21
5.6.30.0100.05720.31
5.6.20.0000.04120.10
5.6.10.0000.04720.37
5.6.00.0030.04520.39
5.5.380.0030.05117.61
5.5.370.0000.08517.64
5.5.360.0030.03917.40
5.5.350.0030.03717.62
5.5.340.0000.04918.00
5.5.330.0070.03718.02
5.5.320.0000.04317.84
5.5.310.0000.05418.09
5.5.300.0070.04018.17
5.5.290.0000.04317.86
5.5.280.0030.03918.00
5.5.270.0100.03617.83
5.5.260.0000.04818.09
5.5.250.0030.04217.58
5.5.240.0070.03417.10
5.5.230.0100.03517.47
5.5.220.0000.04217.50
5.5.210.0070.03917.44
5.5.200.0030.04617.45
5.5.190.0000.04517.21
5.5.180.0030.08017.44
5.5.160.0000.04217.09
5.5.150.0000.05117.45
5.5.140.0040.04217.09
5.5.130.0070.03317.44
5.5.120.0100.03617.18
5.5.110.0030.03917.52
5.5.100.0030.07417.39
5.5.90.0100.04217.11
5.5.80.0100.03717.11
5.5.70.0000.04216.95
5.5.60.0030.03717.33
5.5.50.0030.07417.27
5.5.40.0000.08217.25
5.5.30.0030.03616.95
5.5.20.0090.03116.98
5.5.10.0030.07417.08
5.5.00.0000.05317.40
5.4.450.0030.04019.54
5.4.440.0000.04919.54
5.4.430.0130.03619.27
5.4.420.0000.04619.50
5.4.410.0070.03619.25
5.4.400.0070.04918.95
5.4.390.0000.04319.07
5.4.380.0100.02919.23
5.4.370.0070.03219.05
5.4.360.0000.03919.16
5.4.350.0160.03619.21
5.4.340.0070.04619.06
5.4.320.0030.03919.06
5.4.310.0060.03518.94
5.4.300.0070.03318.99
5.4.290.0030.05118.89
5.4.280.0000.04418.98
5.4.270.0030.04219.13
5.4.260.0000.04119.05
5.4.250.0030.06219.15
5.4.240.0030.04119.20
5.4.230.0060.04519.06
5.4.220.0030.04118.97
5.4.210.0060.03419.08
5.4.200.0070.03319.20
5.4.190.0060.03419.10
5.4.180.0070.03319.05
5.4.170.0030.04919.05
5.4.160.0030.06419.18
5.4.150.0030.04019.21
5.4.140.0100.06216.74
5.4.130.0030.04216.73
5.4.120.0130.06016.56
5.4.110.0030.07816.80
5.4.100.0000.03816.54
5.4.90.0060.03916.66
5.4.80.0000.03916.62
5.4.70.0070.03316.79
5.4.60.0030.03616.60
5.4.50.0100.02716.68
5.4.40.0000.03716.51
5.4.30.0000.03716.45
5.4.20.0030.03416.46
5.4.10.0100.04416.71
5.4.00.0060.03115.93
5.3.290.0030.03614.68
5.3.280.0030.05214.68
5.3.270.0070.08214.89
5.3.260.0030.03614.88
5.3.250.0030.03814.89
5.3.240.0060.05114.68
5.3.230.0000.05014.78
5.3.220.0030.05714.68
5.3.210.0160.04214.85
5.3.200.0160.03614.75
5.3.190.0030.03914.85
5.3.180.0030.04614.82
5.3.170.0000.04014.68
5.3.160.0000.04014.85
5.3.150.0000.03914.85
5.3.140.0030.03614.75
5.3.130.0000.04014.73
5.3.120.0030.04114.84
5.3.110.0030.03814.83
5.3.100.0000.04014.68
5.3.90.0000.04514.68
5.3.80.0000.03614.68
5.3.70.0000.04214.68
5.3.60.0000.03914.68
5.3.50.0070.03514.68
5.3.40.0000.03914.68
5.3.30.0060.03414.68
5.3.20.0000.03914.68
5.3.10.0030.03214.68
5.3.00.0030.03614.68
5.2.170.0000.03414.68
5.2.160.0200.02314.68
5.2.150.0060.02914.68
5.2.140.0000.03814.68
5.2.130.0060.02814.68
5.2.120.0000.03214.68
5.2.110.0000.03014.68
5.2.100.0000.03514.68
5.2.90.0000.03314.68
5.2.80.0030.03114.68
5.2.70.0000.03414.68
5.2.60.0030.03314.68
5.2.50.0070.02914.68
5.2.40.0070.02714.68
5.2.30.0000.03114.68
5.2.20.0070.02314.68
5.2.10.0120.02214.68
5.2.00.0040.02814.68
5.1.60.0030.02914.68
5.1.50.0070.02314.68
5.1.40.0000.02814.68
5.1.30.0030.02914.68
5.1.20.0000.03114.68
5.1.10.0200.02314.68
5.1.00.0070.03014.68
5.0.50.0030.02314.68
5.0.40.0030.01914.68
5.0.30.0190.02614.68
5.0.20.0030.01914.68
5.0.10.0060.01814.68
5.0.00.0000.03314.68
4.4.90.0040.01414.68
4.4.80.0000.01614.68
4.4.70.0030.01414.68
4.4.60.0030.01314.68
4.4.50.0000.01914.68
4.4.40.0060.02514.68
4.4.30.0000.01714.68
4.4.20.0070.01414.68
4.4.10.0030.01614.68
4.4.00.0030.02414.68
4.3.110.0030.01914.68
4.3.100.0000.02114.68
4.3.90.0000.01714.68
4.3.80.0060.02914.68
4.3.70.0000.01714.68
4.3.60.0000.01714.68
4.3.50.0040.01814.68
4.3.40.0000.02914.68
4.3.30.0000.02214.68
4.3.20.0040.02114.68
4.3.10.0030.01314.68
4.3.00.0000.02014.68

preferences:
39.98 ms | 401 KiB | 5 Q