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.0150.00316.63
8.3.50.0070.00716.51
8.3.40.0120.00318.71
8.3.30.0120.00318.45
8.3.20.0040.00420.04
8.3.10.0040.00423.66
8.3.00.0040.00422.09
8.2.180.0070.01116.50
8.2.170.0110.00422.96
8.2.160.0070.01018.93
8.2.150.0050.00324.18
8.2.140.0040.00424.66
8.2.130.0000.00721.00
8.2.120.0040.00426.35
8.2.110.0100.00021.18
8.2.100.0070.00418.09
8.2.90.0040.00419.09
8.2.80.0040.00417.97
8.2.70.0030.00717.38
8.2.60.0000.00817.93
8.2.50.0040.00418.10
8.2.40.0000.00720.42
8.2.30.0030.00620.93
8.2.20.0040.00418.03
8.2.10.0000.00718.00
8.2.00.0070.00017.97
8.1.280.0060.01025.92
8.1.270.0070.00022.19
8.1.260.0080.00026.35
8.1.250.0080.00028.09
8.1.240.0000.00923.92
8.1.230.0080.00418.97
8.1.220.0000.00917.74
8.1.210.0040.00418.77
8.1.200.0000.01017.23
8.1.190.0040.00417.11
8.1.180.0040.00418.10
8.1.170.0080.00018.91
8.1.160.0030.00318.87
8.1.150.0050.00218.70
8.1.140.0070.00219.45
8.1.130.0000.00718.79
8.1.120.0030.00317.24
8.1.110.0040.00417.22
8.1.100.0040.00417.28
8.1.90.0030.00517.36
8.1.80.0000.00717.20
8.1.70.0000.00717.23
8.1.60.0000.00817.47
8.1.50.0040.00417.41
8.1.40.0000.00817.27
8.1.30.0060.00317.55
8.1.20.0080.00017.39
8.1.10.0030.00617.48
8.1.00.0000.00817.28
8.0.300.0050.00218.77
8.0.290.0040.00416.75
8.0.280.0050.00318.38
8.0.270.0040.00417.10
8.0.260.0000.00616.79
8.0.250.0060.00016.73
8.0.240.0000.00716.84
8.0.230.0000.00716.68
8.0.220.0000.00716.78
8.0.210.0000.00716.77
8.0.200.0000.00616.79
8.0.190.0040.00416.85
8.0.180.0070.00316.70
8.0.170.0070.00016.84
8.0.160.0070.00016.64
8.0.150.0000.00716.76
8.0.140.0040.00316.68
8.0.130.0030.00313.41
8.0.120.0000.00816.76
8.0.110.0000.00816.79
8.0.100.0040.00416.79
8.0.90.0040.00416.62
8.0.80.0030.01416.68
8.0.70.0040.00416.87
8.0.60.0000.00716.70
8.0.50.0000.00716.62
8.0.30.0110.00917.03
8.0.20.0100.00917.40
8.0.10.0040.00316.69
8.0.00.0070.01116.81
7.4.330.0030.00315.55
7.4.320.0040.00416.49
7.4.300.0000.00716.34
7.4.290.0070.00016.46
7.4.280.0030.00516.30
7.4.270.0000.00716.37
7.4.260.0030.00316.36
7.4.250.0070.00016.46
7.4.240.0000.00816.32
7.4.230.0030.00316.27
7.4.220.0070.01016.54
7.4.210.0090.00916.48
7.4.200.0000.00916.34
7.4.160.0090.00616.37
7.4.150.0110.01417.40
7.4.140.0100.00817.86
7.4.130.0120.00616.33
7.4.120.0120.00816.29
7.4.110.0000.01716.43
7.4.100.0100.01016.43
7.4.90.0130.00616.34
7.4.80.0120.00419.39
7.4.70.0080.00816.20
7.4.60.0070.00716.26
7.4.50.0100.00716.42
7.4.40.0060.01116.13
7.4.30.0220.03416.49
7.3.330.0030.00213.01
7.3.320.0000.00512.96
7.3.310.0030.00316.17
7.3.300.0070.00016.08
7.3.290.0070.00015.98
7.3.280.0070.00816.14
7.3.270.0100.00717.40
7.3.260.0150.00916.39
7.3.250.0110.00716.27
7.3.240.0080.00916.30
7.3.230.0090.00916.24
7.3.210.0080.00816.36
7.3.200.0130.00616.33
7.3.190.0070.00916.07
7.3.180.0120.00316.31
7.3.170.0110.00416.09
7.3.160.0090.00616.29
7.2.330.0160.00316.33
7.2.320.0040.01216.38
7.2.310.0090.01216.22
7.2.300.0030.01216.39
7.2.290.0110.01116.64
7.1.70.0310.01815.20
7.1.60.0720.01232.89
7.1.50.0630.01732.83
7.1.40.0550.01832.33
7.1.30.0520.01232.43
7.1.20.0640.01432.61
7.1.10.0280.01214.72
7.1.00.0230.01314.50
7.0.200.0420.00614.73
7.0.190.0390.00414.41
7.0.180.0400.00714.13
7.0.170.0350.00914.40
7.0.160.1180.01414.13
7.0.150.0290.01314.29
7.0.140.0380.01614.44
7.0.130.0430.00614.51
7.0.120.0400.00614.37
7.0.110.0360.00914.30
7.0.100.0300.01614.32
7.0.90.0290.01614.16
7.0.80.0230.01314.25
7.0.70.0340.01214.23
7.0.60.0400.01913.98
7.0.50.0250.01414.58
7.0.40.0340.01214.62
7.0.30.0270.00614.56
7.0.20.0260.00614.32
7.0.10.0200.01314.56
7.0.00.0300.00314.32

preferences:
43.41 ms | 400 KiB | 5 Q