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.0070.01016.49
8.3.50.0120.00316.27
8.3.40.0110.00418.79
8.3.30.0120.00318.53
8.3.20.0000.00720.21
8.3.10.0080.00023.52
8.3.00.0050.00322.00
8.2.180.0130.01316.32
8.2.170.0090.00622.96
8.2.160.0070.01019.09
8.2.150.0070.00024.18
8.2.140.0050.00324.66
8.2.130.0040.00421.03
8.2.120.0080.00026.35
8.2.110.0030.00620.84
8.2.100.0000.01118.09
8.2.90.0080.00019.11
8.2.80.0040.00417.97
8.2.70.0050.00317.50
8.2.60.0040.00417.91
8.2.50.0030.00518.10
8.2.40.0040.00420.54
8.2.30.0040.00420.89
8.2.20.0030.00617.79
8.2.10.0000.00717.93
8.2.00.0070.00017.90
8.1.280.0160.00325.92
8.1.270.0070.00022.02
8.1.260.0030.00626.35
8.1.250.0040.00428.09
8.1.240.0000.00824.02
8.1.230.0060.00619.01
8.1.220.0080.00017.74
8.1.210.0000.00918.77
8.1.200.0030.00617.23
8.1.190.0000.00917.10
8.1.180.0040.00418.10
8.1.170.0050.00218.84
8.1.160.0070.00018.89
8.1.150.0050.00318.65
8.1.140.0060.00319.50
8.1.130.0000.00718.74
8.1.120.0030.00317.29
8.1.110.0030.00517.31
8.1.100.0040.00417.35
8.1.90.0040.00417.33
8.1.80.0040.00417.25
8.1.70.0060.00317.32
8.1.60.0040.00417.51
8.1.50.0000.00817.28
8.1.40.0040.00417.31
8.1.30.0070.00017.44
8.1.20.0040.00417.52
8.1.10.0000.00817.47
8.1.00.0080.00017.21
8.0.300.0050.00218.77
8.0.290.0000.00716.58
8.0.280.0000.00718.36
8.0.270.0000.00817.14
8.0.260.0030.00316.66
8.0.250.0000.00616.70
8.0.240.0050.00316.83
8.0.230.0040.00416.74
8.0.220.0000.00616.79
8.0.210.0070.00016.74
8.0.200.0000.00616.84
8.0.190.0000.00816.83
8.0.180.0080.00316.79
8.0.170.0030.00516.74
8.0.160.0070.00016.78
8.0.150.0040.00416.77
8.0.140.0000.00716.71
8.0.130.0050.00013.32
8.0.120.0000.00716.74
8.0.110.0030.00316.65
8.0.100.0050.00316.74
8.0.90.0040.00416.54
8.0.80.0130.00316.75
8.0.70.0040.00416.69
8.0.60.0080.00016.79
8.0.50.0030.00316.77
8.0.30.0040.01116.97
8.0.20.0120.00617.40
8.0.10.0070.00016.74
8.0.00.0120.00616.48
7.4.330.0070.00015.55
7.4.320.0060.00016.51
7.4.300.0030.00316.50
7.4.290.0070.00016.46
7.4.280.0070.00016.26
7.4.270.0000.00616.47
7.4.260.0030.00316.46
7.4.250.0040.00416.22
7.4.240.0000.00716.26
7.4.230.0030.00316.22
7.4.220.0100.00716.47
7.4.210.0120.00616.45
7.4.200.0020.00516.20
7.4.160.0090.00816.28
7.4.150.0170.00317.40
7.4.140.0060.01117.86
7.4.130.0090.00916.35
7.4.120.0130.00716.56
7.4.110.0100.00716.32
7.4.100.0070.01016.48
7.4.90.0100.00616.29
7.4.80.0120.01019.39
7.4.70.0150.00616.16
7.4.60.0040.01116.27
7.4.50.0120.00316.44
7.4.40.0030.01716.36
7.4.30.0030.01616.25
7.3.330.0030.00312.99
7.3.320.0000.00513.10
7.3.310.0000.00616.21
7.3.300.0070.00016.12
7.3.290.0030.00316.18
7.3.280.0100.00716.12
7.3.270.0150.00917.40
7.3.260.0130.00816.41
7.3.250.0100.00816.25
7.3.240.0110.00516.13
7.3.230.0300.01916.35
7.3.210.0100.00616.57
7.3.200.0030.01216.14
7.3.190.0060.01016.16
7.3.180.0040.01116.04
7.3.170.0060.01216.13
7.3.160.0120.00416.11
7.2.330.0170.00716.61
7.2.320.0080.00816.52
7.2.310.0100.00716.43
7.2.300.0090.00616.55
7.2.290.0120.00616.35
7.1.70.0390.01015.09
7.1.60.0460.01033.26
7.1.50.0750.00733.00
7.1.40.1410.01632.45
7.1.30.0410.01332.38
7.1.20.0490.01332.53
7.1.10.0340.01314.46
7.1.00.0300.01214.70
7.0.200.0420.00614.64
7.0.190.0400.01414.68
7.0.180.0360.01314.30
7.0.170.0350.01114.13
7.0.160.0440.01714.25
7.0.150.0400.00814.27
7.0.140.0320.01614.21
7.0.130.0340.01314.39
7.0.120.0420.01114.38
7.0.110.0370.01214.25
7.0.100.0380.01014.17
7.0.90.0290.00914.21
7.0.80.0410.00514.36
7.0.70.0260.00914.30
7.0.60.0270.00614.04
7.0.50.0280.01114.41
7.0.40.0230.00714.50
7.0.30.0240.00614.38
7.0.20.0350.00914.32
7.0.10.0290.01214.64
7.0.00.0230.01314.38

preferences:
41.58 ms | 401 KiB | 5 Q