3v4l.org

run code in 300+ PHP versions simultaneously
<?hh class C extends D { public function foo() { new D(); } } (new C())->foo(); class D {}

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.0090.00916.63
8.3.50.0030.01016.38
8.3.40.0140.00018.54
8.3.30.0120.00318.47
8.3.20.0000.00720.26
8.3.10.0080.00023.61
8.3.00.0050.00322.11
8.2.180.0110.00416.38
8.2.170.0090.00622.96
8.2.160.0070.01019.03
8.2.150.0000.00724.18
8.2.140.0070.00024.66
8.2.130.0050.00321.11
8.2.120.0070.00026.35
8.2.110.0070.00321.25
8.2.100.0090.00317.75
8.2.90.0040.00419.14
8.2.80.0000.00817.97
8.2.70.0040.00417.63
8.2.60.0040.00417.90
8.2.50.0030.00618.10
8.2.40.0070.00020.55
8.2.30.0050.00320.77
8.2.20.0000.00717.90
8.2.10.0040.00417.79
8.2.00.0040.00417.92
8.1.280.0090.00925.92
8.1.270.0070.00022.01
8.1.260.0090.00026.35
8.1.250.0040.00428.09
8.1.240.0060.00323.97
8.1.230.0100.00319.04
8.1.220.0050.00317.74
8.1.210.0050.00318.77
8.1.200.0100.00017.22
8.1.190.0080.00017.11
8.1.180.0000.00818.10
8.1.170.0000.00718.98
8.1.160.0040.00418.93
8.1.150.0040.00418.85
8.1.140.0050.00519.40
8.1.130.0070.00018.66
8.1.120.0030.00317.32
8.1.110.0020.00517.24
8.1.100.0030.00317.20
8.1.90.0040.00417.21
8.1.80.0000.00717.21
8.1.70.0000.00817.18
8.1.60.0050.00217.44
8.1.50.0050.00317.44
8.1.40.0000.00817.26
8.1.30.0040.00417.45
8.1.20.0000.00817.50
8.1.10.0060.00317.39
8.1.00.0050.00317.35
8.0.300.0040.00418.77
8.0.290.0080.00016.58
8.0.280.0000.00718.33
8.0.270.0070.00017.05
8.0.260.0030.00316.66
8.0.250.0030.00316.70
8.0.240.0060.00316.84
8.0.230.0000.00816.81
8.0.220.0040.00416.77
8.0.210.0030.00316.77
8.0.200.0030.00316.79
8.0.190.0080.00016.73
8.0.180.0000.00816.66
8.0.170.0030.00316.79
8.0.160.0030.00316.73
8.0.150.0030.00316.60
8.0.140.0000.00816.70
8.0.130.0000.00513.46
8.0.120.0040.00416.73
8.0.110.0000.00716.74
8.0.100.0040.00416.73
8.0.90.0040.00416.79
8.0.80.0060.01616.79
8.0.70.0040.00416.75
8.0.60.0040.00416.71
8.0.50.0000.00716.62
8.0.30.0090.00817.07
8.0.20.0110.00817.40
8.0.10.0000.00716.76
8.0.00.0130.00316.32
7.4.330.0030.00315.55
7.4.320.0030.00316.49
7.4.300.0060.00016.37
7.4.290.0000.00716.47
7.4.280.0030.00516.28
7.4.270.0060.00016.23
7.4.260.0000.00716.34
7.4.250.0030.00316.45
7.4.240.0030.00316.45
7.4.230.0030.00316.36
7.4.220.0130.00316.40
7.4.210.0060.01116.47
7.4.200.0050.00316.56
7.4.160.0090.00616.56
7.4.150.0030.01517.40
7.4.140.0080.00917.86
7.4.130.0150.00916.34
7.4.120.0120.00716.41
7.4.110.0060.01016.34
7.4.100.0030.01716.41
7.4.90.0090.00916.58
7.4.80.0100.00719.39
7.4.70.0130.01016.32
7.4.60.0030.01316.46
7.4.50.0100.00716.44
7.4.40.0070.01416.34
7.4.30.0060.00916.33
7.3.330.0070.00013.05
7.3.320.0000.00613.02
7.3.310.0030.00315.97
7.3.300.0000.00616.02
7.3.290.0000.00716.17
7.3.280.0090.00716.16
7.3.270.0090.00917.40
7.3.260.0160.00516.48
7.3.250.0070.01016.29
7.3.240.0070.00916.43
7.3.230.0080.01116.36
7.3.210.0080.00816.44
7.3.200.0100.00616.15
7.3.190.0130.00316.44
7.3.180.0160.00616.36
7.3.170.0070.00716.20
7.3.160.0120.00316.06
7.2.330.0090.01316.52
7.2.320.0070.01316.29
7.2.310.0060.01216.67
7.2.300.0060.01016.61
7.2.290.0140.00716.54
7.1.70.0660.01015.23
7.1.60.0430.01433.17
7.1.50.0400.01432.88
7.1.40.0480.01832.45
7.1.30.0470.01432.40
7.1.20.0430.01432.68
7.1.10.0210.01714.47
7.1.00.0230.01914.33
7.0.200.1180.01514.79
7.0.190.0310.00714.50
7.0.180.0270.01514.44
7.0.170.0270.01314.20
7.0.160.0280.01414.29
7.0.150.0290.01714.29
7.0.140.0310.01114.32
7.0.130.0290.01614.39
7.0.120.0360.01114.43
7.0.110.0220.01414.38
7.0.100.0270.01414.31
7.0.90.0320.01214.38
7.0.80.0310.01014.38
7.0.70.0310.00814.22
7.0.60.0230.01214.01
7.0.50.0220.01514.37
7.0.40.0350.00914.38
7.0.30.0260.01114.50
7.0.20.0260.01414.45
7.0.10.0240.01414.38
7.0.00.0310.01314.47

preferences:
37.93 ms | 401 KiB | 5 Q