3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo (new datetime('now'))->format('H:i:s.v'); print PHP_EOL; echo (new datetime('now'))->format('v-u-v');

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.140.0130.00917.69
8.4.130.0070.00318.98
8.4.120.0130.00719.49
8.4.110.0120.00722.37
8.4.100.0110.00817.73
8.4.90.0090.01120.59
8.4.80.0130.00819.02
8.4.70.0100.00620.65
8.4.60.0120.00820.41
8.4.50.0130.00920.49
8.4.40.0090.01217.69
8.4.30.0130.00720.93
8.4.20.0080.01221.49
8.4.10.0140.00719.43
8.3.270.0090.01016.54
8.3.260.0110.00816.79
8.3.250.0090.01016.75
8.3.240.0070.00616.60
8.3.230.0040.00516.60
8.3.220.0120.00618.68
8.3.210.0130.00616.59
8.3.200.0050.00416.66
8.3.190.0120.00617.25
8.3.180.0100.00720.59
8.3.170.0090.00617.46
8.3.160.0060.01218.56
8.3.150.0060.01218.54
8.3.140.0040.01118.66
8.3.130.0060.01216.44
8.3.120.0070.00418.93
8.3.110.0080.00020.94
8.3.100.0060.00616.50
8.3.90.0070.00516.68
8.3.80.0040.00716.75
8.3.70.0030.00816.75
8.3.60.0030.00916.50
8.3.50.0050.00716.63
8.3.40.0090.00317.50
8.3.30.0090.00317.38
8.3.20.0040.00717.63
8.3.10.0030.00717.63
8.3.00.0080.00317.75
8.2.290.0050.00316.75
8.2.280.0120.00918.50
8.2.270.0140.00420.59
8.2.260.0100.00716.48
8.2.250.0090.00016.71
8.2.240.0060.00917.34
8.2.230.0090.00022.58
8.2.220.0110.00016.42
8.2.210.0080.00418.59
8.2.200.0040.00818.41
8.2.190.0070.00416.60
8.2.180.0080.00416.75
8.2.170.0030.01019.61
8.2.160.0060.00619.48
8.2.150.0110.00017.75
8.2.140.0080.00317.50
8.2.130.0040.00717.50
8.2.120.0080.00319.36
8.2.110.0030.00717.63
8.2.100.0040.00717.50
8.2.90.0070.00417.75
8.2.80.0040.00717.50
8.2.70.0030.01019.48
8.2.60.0080.00419.35
8.2.50.0070.00417.63
8.2.40.0040.00719.60
8.2.30.0110.00019.35
8.2.20.0100.00017.50
8.2.10.0080.00419.23
8.2.00.0030.00617.63
8.1.330.0120.00716.26
8.1.320.0120.00816.34
8.1.310.0090.00916.09
8.1.300.0150.00016.39
8.1.290.0090.00016.50
8.1.280.0060.00316.38
8.1.270.0060.00317.39
8.1.260.0060.00317.36
8.1.250.0090.00017.48
8.1.240.0040.00417.35
8.1.230.0080.00017.48
8.1.220.0090.00017.25
8.1.210.0040.00417.23
8.1.200.0040.00417.35
8.1.190.0050.00317.22
8.1.180.0080.00017.10
8.1.170.0080.00017.47
8.1.160.0040.00417.38
8.1.150.0060.00317.47
8.1.140.0040.00417.38
8.1.130.0090.00017.35
8.1.120.0060.00317.25
8.1.110.0040.00417.34
8.1.100.0040.00417.35
8.1.90.0040.00417.35
8.1.80.0040.00417.35
8.1.70.0030.00717.35
8.1.60.0110.00019.26
8.1.50.0060.00317.35
8.1.40.0030.00617.47
8.1.30.0000.00917.25
8.1.20.0080.00417.59
8.1.10.0060.00617.59
8.1.00.0070.00317.35

preferences:
26.84 ms | 403 KiB | 5 Q