3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace Test\String { class NotAProblem {} } namespace Test { $test = new String\NotAProblem(); }

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.4.130.0130.00917.69
8.4.120.0160.00320.52
8.4.110.0090.00817.79
8.4.100.0100.01018.98
8.4.90.0070.01122.27
8.4.80.0090.00520.52
8.4.70.0110.00718.77
8.4.60.0110.01018.90
8.4.50.0110.00917.71
8.4.40.0170.00317.46
8.4.30.0160.00320.53
8.4.20.0070.00918.29
8.4.10.0130.00719.79
8.3.260.0110.00916.57
8.3.250.0100.01018.73
8.3.240.0110.00816.96
8.3.230.0050.00316.41
8.3.220.0120.00618.93
8.3.210.0050.00918.28
8.3.200.0050.00416.65
8.3.190.0130.00717.12
8.3.180.0050.00416.30
8.3.170.0040.00418.22
8.3.160.0140.00316.60
8.3.150.0210.00516.45
8.3.140.0140.00117.58
8.3.130.0120.00317.23
8.3.120.0120.00318.51
8.3.110.0110.00716.41
8.3.100.0130.00620.23
8.3.90.0080.00721.49
8.3.80.0130.00416.96
8.3.70.0180.00416.41
8.3.60.0150.00418.16
8.3.50.0150.00716.44
8.3.40.0150.00218.64
8.3.30.0120.00318.72
8.3.20.0100.00420.65
8.3.10.0090.00220.80
8.3.00.0050.00421.68
8.2.290.0090.00920.39
8.2.280.0150.00418.28
8.2.270.0130.00316.66
8.2.260.0120.00516.33
8.2.250.0090.00717.67
8.2.240.0110.00416.70
8.2.230.0070.00618.51
8.2.220.0090.00426.94
8.2.210.0100.00821.49
8.2.200.0130.00216.59
8.2.190.0120.00616.43
8.2.180.0160.00316.63
8.2.170.0150.00518.13
8.2.160.0140.00520.12
8.2.150.0080.00521.30
8.2.140.0080.00420.90
8.2.130.0070.00621.64
8.2.120.0090.00418.44
8.2.110.0090.00519.70
8.2.100.0120.00317.61
8.2.90.0100.00317.47
8.2.80.0090.00418.15
8.2.70.0110.00648.26
8.2.60.0110.00848.36
8.2.50.0110.00748.20
8.2.40.0100.00848.33
8.2.30.0160.00248.28
8.2.20.0110.00548.34
8.2.10.0160.00248.26
8.2.00.0130.00448.30
8.1.330.0080.01022.10
8.1.320.0090.00922.04
8.1.310.0110.00215.97
8.1.300.0100.00315.88
8.1.290.0130.00223.58
8.1.280.0120.00620.97
8.1.270.0100.00320.91
8.1.260.0110.00321.66
8.1.250.0080.00522.59
8.1.240.0110.00119.81
8.1.230.0070.00619.78
8.1.220.0060.00717.43
8.1.210.0080.00417.87
8.1.200.0130.00448.18
8.1.190.0100.00647.97
8.1.180.0120.00448.01
8.1.170.0080.00848.15
8.1.160.0120.00448.02
8.1.150.0150.00248.16
8.1.140.0080.00548.05
8.1.130.0150.00248.23
8.1.120.0140.00348.22
8.1.110.0110.00748.11
8.1.100.0150.00248.22
8.1.90.0090.00748.10
8.1.80.0150.00248.14
8.1.70.0150.00348.12
8.1.60.0110.00748.22
8.1.50.0120.00648.18
8.1.40.0150.00248.14
8.1.30.0120.00648.25
8.1.20.0150.00348.19
8.1.10.0140.00448.11
8.1.00.0130.00548.22
8.0.300.0120.00018.19
8.0.290.0140.00447.94
8.0.280.0160.00347.78
8.0.270.0130.00347.78
8.0.260.0120.00447.76
8.0.250.0140.00147.82
8.0.240.0090.00847.95
8.0.230.0110.00547.76
8.0.220.0140.00247.86
8.0.210.0130.00347.79
8.0.200.0100.00947.80
8.0.190.0150.00047.94
8.0.180.0120.00347.82
8.0.170.0090.00747.84
8.0.160.0140.00347.98
8.0.150.0150.00247.76
8.0.140.0090.00847.86
8.0.130.0150.00247.89
8.0.120.0130.00347.87
8.0.110.0100.00647.81
8.0.100.0160.00247.91
8.0.90.0100.00647.82
8.0.80.0100.00547.89
8.0.70.0110.00547.84
8.0.60.0130.00447.88
8.0.50.0080.00747.71
8.0.30.0130.00347.83
8.0.20.0120.00447.88
8.0.10.0120.00447.88

preferences:
33.9 ms | 403 KiB | 5 Q