3v4l.org

run code in 300+ PHP versions simultaneously
<?hh class C { public function __construct() { new D(); } } new C(); 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.01516.38
8.3.50.0030.01016.36
8.3.40.0090.00618.54
8.3.30.0110.00318.59
8.3.20.0070.00320.04
8.3.10.0000.00823.52
8.3.00.0030.00522.09
8.2.180.0070.00716.63
8.2.170.0070.00722.96
8.2.160.0070.00718.95
8.2.150.0040.00424.18
8.2.140.0000.00824.66
8.2.130.0030.00621.18
8.2.120.0110.00726.35
8.2.110.0060.00322.12
8.2.100.0110.00017.72
8.2.90.0060.00322.33
8.2.80.0000.00919.23
8.2.70.0060.00317.80
8.2.60.0050.00317.80
8.2.50.0000.00818.10
8.2.40.0080.00020.50
8.2.30.0040.00419.17
8.2.20.0000.00817.86
8.2.10.0090.00017.92
8.2.00.0070.00017.98
8.1.280.0090.00925.92
8.1.270.0050.00322.13
8.1.260.0050.00226.35
8.1.250.0070.00028.09
8.1.240.0100.00022.33
8.1.230.0040.00720.98
8.1.220.0070.00017.74
8.1.210.0040.00418.77
8.1.200.0040.00417.22
8.1.190.0090.00017.22
8.1.180.0070.00018.10
8.1.170.0030.00620.30
8.1.160.0040.00418.94
8.1.150.0040.00420.55
8.1.140.0050.00322.18
8.1.130.0030.00318.66
8.1.120.0060.00317.23
8.1.110.0040.00417.26
8.1.100.0000.00717.20
8.1.90.0040.00417.34
8.1.80.0030.00517.30
8.1.70.0000.00717.21
8.1.60.0090.00017.50
8.1.50.0050.00317.39
8.1.40.0040.00417.35
8.1.30.0030.00617.49
8.1.20.0000.00717.57
8.1.10.0090.00017.45
8.1.00.0020.00517.34
8.0.300.0080.00019.94
8.0.290.0000.00716.63
8.0.280.0070.00018.38
8.0.270.0000.00717.07
8.0.260.0030.00316.74
8.0.250.0060.00016.84
8.0.240.0080.00016.82
8.0.230.0000.00716.79
8.0.220.0030.00316.80
8.0.210.0030.00316.77
8.0.200.0030.00316.78
8.0.190.0040.00416.82
8.0.180.0000.00716.77
8.0.170.0000.00716.81
8.0.160.0000.00816.70
8.0.150.0000.00716.74
8.0.140.0000.00716.71
8.0.130.0050.00313.35
8.0.120.0030.00616.76
8.0.110.0030.00316.81
8.0.100.0040.00416.56
8.0.90.0040.00416.79
8.0.80.0060.01716.73
8.0.70.0040.00416.74
8.0.60.0070.00016.79
8.0.50.0000.00716.79
8.0.30.0090.00816.88
8.0.20.0100.00917.40
8.0.10.0070.00016.85
8.0.00.0030.01316.54
7.4.330.0000.00515.55
7.4.320.0000.00616.46
7.4.300.0000.00616.45
7.4.290.0030.00316.34
7.4.280.0000.01016.21
7.4.270.0030.00316.52
7.4.260.0050.00216.30
7.4.250.0000.00716.43
7.4.240.0070.00016.42
7.4.230.0020.00516.26
7.4.220.0130.00916.36
7.4.210.0120.00716.35
7.4.200.0040.00416.38
7.4.160.0090.00716.17
7.4.150.0120.00617.40
7.4.140.0120.00817.86
7.4.130.0120.01216.39
7.4.120.0090.01216.43
7.4.110.0100.00716.33
7.4.100.0160.00616.34
7.4.90.0100.00816.38
7.4.80.0160.00619.39
7.4.70.0130.00916.33
7.4.60.0070.00716.27
7.4.50.0070.00716.34
7.4.40.0090.01216.40
7.4.30.0160.00616.34
7.3.330.0030.00312.97
7.3.320.0000.00612.95
7.3.310.0040.00416.08
7.3.300.0060.00015.98
7.3.290.0000.00716.15
7.3.280.0090.00816.12
7.3.270.0100.00717.40
7.3.260.0080.01116.24
7.3.250.0080.01116.35
7.3.240.0150.00516.32
7.3.230.0110.01116.46
7.3.210.0060.01216.18
7.3.200.0090.00616.20
7.3.190.0130.00316.48
7.3.180.0070.01016.16
7.3.170.0090.01016.19
7.3.160.0200.00316.17
7.2.330.0030.01416.47
7.2.320.0060.01016.45
7.2.310.0130.00316.46
7.2.300.0110.00716.46
7.2.290.0070.00916.53
7.1.70.0320.01215.20
7.1.60.0310.01533.11
7.1.50.0480.01032.95
7.1.40.0520.01332.46
7.1.30.0530.03032.66
7.1.20.0560.01532.79
7.1.10.0080.01214.38
7.1.00.0260.01314.74
7.0.200.0380.01014.67
7.0.190.0240.01514.64
7.0.180.0310.01014.20
7.0.170.0070.01414.08
7.0.160.0470.01114.31
7.0.150.0380.00214.21
7.0.140.0410.00614.20
7.0.130.0250.00714.69
7.0.120.0260.00614.38
7.0.110.0080.01214.05
7.0.100.0320.01014.32
7.0.90.0700.00614.21
7.0.80.0300.01214.25
7.0.70.0060.01314.31
7.0.60.0280.01014.11
7.0.50.0240.01414.41
7.0.40.0330.01314.38
7.0.30.0250.01714.38
7.0.20.0320.01214.30
7.0.10.0330.01414.46
7.0.00.0280.01614.55

preferences:
41.25 ms | 400 KiB | 5 Q