3v4l.org

run code in 300+ PHP versions simultaneously
<?hh class TestClass { private string username="Dell"; function getName():string{ return this->username; } } $t1=new TestClass(); echo $t1->getName();

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.70.0040.01518.41
8.3.60.0150.00618.31
8.3.50.0100.00521.94
8.3.40.0070.00718.66
8.3.30.0090.00918.93
8.3.20.0000.00720.39
8.3.10.0030.00523.48
8.3.00.0080.00019.25
8.2.180.0150.00618.41
8.2.170.0110.00422.96
8.2.160.0030.01320.52
8.2.150.0000.00824.18
8.2.140.0030.00524.66
8.2.130.0030.01426.16
8.2.120.0040.00422.08
8.2.110.0090.00020.50
8.2.100.0090.00317.58
8.2.90.0030.00519.08
8.2.80.0000.00817.97
8.2.70.0100.00217.25
8.2.60.0030.00517.80
8.2.50.0060.00318.07
8.2.40.0000.00718.09
8.2.30.0020.00517.94
8.2.20.0000.00817.56
8.2.10.0030.00617.96
8.2.00.0080.00317.54
8.1.280.0090.00925.92
8.1.270.0080.00022.20
8.1.260.0080.00026.35
8.1.250.0050.00328.09
8.1.240.0030.00723.96
8.1.230.0080.00422.78
8.1.220.0030.00517.74
8.1.210.0070.00218.77
8.1.200.0060.00317.23
8.1.190.0040.00417.28
8.1.180.0040.00418.89
8.1.170.0080.00018.51
8.1.160.0030.00321.84
8.1.150.0000.00718.44
8.1.140.0080.00017.35
8.1.130.0030.00617.70
8.1.120.0000.00717.38
8.1.110.0000.00717.26
8.1.100.0100.00017.34
8.1.90.0080.00017.28
8.1.80.0000.00717.27
8.1.70.0030.00317.30
8.1.60.0050.00317.47
8.1.50.0040.00417.40
8.1.40.0060.00317.37
8.1.30.0030.00617.48
8.1.20.0080.00017.39
8.1.10.0030.00517.46
8.1.00.0040.00417.34
8.0.300.0040.00419.20
8.0.290.0070.00017.18
8.0.280.0070.00018.27
8.0.270.0030.00317.09
8.0.260.0000.00617.09
8.0.250.0040.00416.83
8.0.240.0000.00716.81
8.0.230.0000.00716.85
8.0.220.0020.00516.63
8.0.210.0040.00416.73
8.0.200.0060.00016.73
8.0.190.0060.00316.72
8.0.180.0040.00416.74
8.0.170.0040.00416.71
8.0.160.0080.00016.72
8.0.150.0050.00316.68
8.0.140.0000.00716.73
8.0.130.0030.00313.45
8.0.120.0000.00816.71
8.0.110.0000.00716.57
8.0.100.0000.00816.64
8.0.90.0040.00416.60
8.0.80.0070.01016.78
8.0.70.0040.00416.70
8.0.60.0050.00216.79
8.0.50.0070.00016.56
8.0.30.0190.00516.85
8.0.20.0100.00717.40
8.0.10.0040.00416.89
8.0.00.0070.01516.58
7.4.330.0070.00015.08
7.4.320.0070.00016.36
7.4.300.0000.00816.46
7.4.290.0080.00016.36
7.4.280.0030.00316.34
7.4.270.0050.00216.45
7.4.260.0070.00016.39
7.4.250.0030.00516.25
7.4.240.0050.00216.48
7.4.230.0000.00716.52
7.4.220.0100.00716.41
7.4.210.0110.00516.46
7.4.200.0000.00716.52
7.4.190.0040.00416.52
7.4.160.0080.00816.32
7.4.150.0130.00317.40
7.4.140.0070.00917.86
7.4.130.0070.00916.36
7.4.120.0100.00716.53
7.4.110.0040.01216.44
7.4.100.0100.01016.36
7.4.90.0030.01316.39
7.4.80.0040.01819.39
7.4.70.0050.01016.24
7.4.60.0140.00416.18
7.4.50.0030.00616.27
7.4.40.0040.01422.77
7.4.30.0120.00316.46
7.3.330.0000.00613.21
7.3.320.0050.00013.19
7.3.310.0040.00416.19
7.3.300.0070.00016.04
7.3.290.0090.01016.13
7.3.280.0080.00916.14
7.3.270.0170.00017.40
7.3.260.0100.00716.46
7.3.250.0140.00916.32
7.3.240.0110.00716.47
7.3.230.0110.00616.39
7.3.210.0140.00316.31
7.3.200.0160.00619.39
7.3.190.0030.01216.08
7.3.180.0030.01716.41
7.3.170.0030.01216.27
7.3.160.0140.00316.46
7.2.330.0080.01116.54
7.2.320.0130.00316.20
7.2.310.0100.00716.30
7.2.300.0060.01016.16
7.2.290.0100.00616.54
5.4.280.4430.03719.20
5.4.270.4200.03718.93
5.4.260.4330.04019.17
5.4.250.4570.03318.96
5.4.240.5130.03718.93
5.4.230.4470.04018.98
5.4.220.0200.06319.10
5.4.210.0170.05719.13
5.4.200.1530.04719.12
5.4.190.4730.03719.25
5.4.180.3600.03019.12
5.4.170.3870.04018.94
5.4.160.3900.03719.20
5.4.150.3970.04319.11
5.4.140.3700.03716.44
5.4.130.3870.03316.43
5.4.120.3630.03716.25
5.4.110.3830.03316.46
5.4.100.4300.04016.50
5.4.90.4470.03016.55
5.4.80.4500.03016.46
5.4.70.3800.03716.33
5.4.60.4570.03316.49
5.4.50.3970.03716.43
5.4.40.3870.03316.33
5.4.30.4430.03016.45
5.4.20.4100.03716.45
5.4.10.3970.04316.59
5.4.00.3830.03315.95
5.3.290.2030.03314.45
5.3.280.4500.03714.57
5.3.270.4000.03714.52
5.3.260.4000.04714.54
5.3.250.3770.03714.53
5.3.240.4070.04314.50
5.3.230.3800.03714.55
5.3.220.3730.04014.48
5.3.210.3800.03014.38
5.3.200.3870.03714.54
5.3.190.4670.03314.44
5.3.180.4630.03314.49
5.3.170.4570.04014.49
5.3.160.4500.03714.43
5.3.150.3970.03714.65
5.3.140.3870.04014.48
5.3.130.4100.04014.36
5.3.120.4500.03314.44
5.3.110.3200.03714.63
5.3.100.3830.03013.95
5.3.90.4030.03713.97
5.3.80.3600.03313.95
5.3.70.3830.03313.83
5.3.60.3830.04313.83
5.3.50.3730.03313.95
5.3.40.4200.03013.87
5.3.30.4170.03013.72
5.3.20.4000.03713.62
5.3.10.3900.04013.58
5.3.00.3530.03713.55

preferences:
34.51 ms | 401 KiB | 5 Q