3v4l.org

run code in 300+ PHP versions simultaneously
<?php $localTime = new DateTime(null, new DateTimeZone('UTC')); var_dump($localTime->format("j/n/Y g:i:s a"));

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.0180.00318.48
8.3.50.0110.00816.48
8.3.40.0070.01418.63
8.3.30.0140.00018.79
8.3.20.0080.00020.28
8.3.10.0030.00620.52
8.3.00.0050.00321.90
8.2.180.0040.01116.50
8.2.170.0100.01019.04
8.2.160.0100.00622.96
8.2.150.0070.00025.66
8.2.140.0000.00924.66
8.2.130.0000.00721.11
8.2.120.0000.00726.35
8.2.110.0060.00320.90
8.2.100.0080.00417.91
8.2.90.0080.00017.90
8.2.80.0060.00318.02
8.2.70.0030.00617.75
8.2.60.0030.00517.80
8.2.50.0040.00418.09
8.2.40.0030.00522.10
8.2.30.0040.00419.36
8.2.20.0040.00417.81
8.2.10.0040.00417.88
8.2.00.0000.00717.93
8.1.280.0040.01125.92
8.1.270.0030.00620.66
8.1.260.0080.00028.09
8.1.250.0040.00428.09
8.1.240.0100.00723.84
8.1.230.0120.00020.97
8.1.220.0040.00417.74
8.1.210.0080.00018.96
8.1.200.0030.00617.48
8.1.190.0040.00417.23
8.1.180.0040.00418.10
8.1.170.0000.00818.68
8.1.160.0050.00220.74
8.1.150.0020.00518.77
8.1.140.0000.00919.52
8.1.130.0000.00717.59
8.1.120.0040.00417.44
8.1.110.0040.00417.41
8.1.100.0040.00417.58
8.1.90.0070.00017.55
8.1.80.0000.00717.37
8.1.70.0070.00017.48
8.1.60.0040.00417.45
8.1.50.0050.00317.56
8.1.40.0040.00417.53
8.1.30.0040.00417.60
8.1.20.0000.00817.39
8.1.10.0040.00417.45
8.1.00.0030.00517.37
8.0.300.0040.00420.04
8.0.290.0040.00416.75
8.0.280.0000.00718.43
8.0.270.0040.00417.25
8.0.260.0000.00717.10
8.0.250.0040.00416.92
8.0.240.0070.00017.01
8.0.230.0000.00716.90
8.0.220.0000.00716.86
8.0.210.0000.00716.97
8.0.200.0050.00216.91
8.0.190.0030.00517.10
8.0.180.0000.00716.88
8.0.170.0050.00216.86
8.0.160.0040.00416.94
8.0.150.0070.00016.94
8.0.140.0050.00216.84
8.0.130.0030.00313.41
8.0.120.0040.00416.88
8.0.110.0030.00516.98
8.0.100.0040.00416.97
8.0.90.0070.00016.96
8.0.80.0110.00416.99
8.0.70.0040.00417.00
8.0.60.0000.00716.85
8.0.50.0040.00416.99
8.0.30.0080.01117.09
8.0.20.0080.01017.40
8.0.10.0000.00717.12
8.0.00.0140.00516.75
7.4.330.0050.00016.84
7.4.320.0000.00616.59
7.4.300.0060.00016.49
7.4.290.0030.00616.61
7.4.280.0080.00016.53
7.4.270.0040.00416.61
7.4.260.0030.00516.60
7.4.250.0030.00316.57
7.4.240.0040.00416.62
7.4.230.0070.00016.61
7.4.220.0160.00916.46
7.4.210.0070.00716.56
7.4.200.0000.00716.34
7.4.160.0110.00416.40
7.4.150.0060.01317.40
7.4.140.0090.00817.86
7.4.130.0130.01016.57
7.4.120.0150.00616.47
7.4.110.0170.00316.61
7.4.100.0080.01516.26
7.4.90.0140.00416.57
7.4.80.0070.01019.39
7.4.70.0100.01016.59
7.4.60.0080.00816.61
7.4.50.0090.00616.23
7.4.40.0120.00716.68
7.4.30.0060.01216.61
7.4.00.0140.00314.71
7.3.330.0050.00013.00
7.3.320.0050.00013.02
7.3.310.0000.00716.30
7.3.300.0080.00016.17
7.3.290.0030.00316.23
7.3.280.0070.01016.30
7.3.270.0080.01217.40
7.3.260.0130.01016.66
7.3.250.0150.00216.34
7.3.240.0110.00716.32
7.3.230.0100.01316.39
7.3.210.0120.00916.21
7.3.200.0040.01916.64
7.3.190.0000.01516.31
7.3.180.0180.00016.43
7.3.170.0160.00616.26
7.3.160.0030.01316.36
7.2.330.0130.00616.84
7.2.320.0080.01116.77
7.2.310.0070.01016.47
7.2.300.0030.01316.31
7.2.290.0100.00616.82
7.2.60.0040.01116.49
7.2.00.0030.00919.15
7.1.200.0280.01215.59
7.1.100.0040.01118.26
7.1.70.0000.01217.17
7.1.60.0100.01319.19
7.1.50.0100.01017.01
7.1.00.0070.07322.44
7.0.200.0380.00614.39
7.0.70.0000.08721.64
7.0.60.0070.08021.74
7.0.50.0000.08722.11
7.0.40.0000.08020.02
7.0.30.0030.08320.16
7.0.20.0030.08020.13
7.0.10.0130.07720.11
7.0.00.0030.08320.06
5.6.280.0000.03321.05
5.6.220.0030.07320.57
5.6.210.0030.06720.46
5.6.200.0070.08320.99
5.6.190.0070.08321.00
5.6.180.0030.07721.01
5.6.170.0000.08721.03
5.6.160.0070.07321.00
5.6.150.0070.08021.12
5.6.140.0100.06721.15
5.6.130.0170.06721.03
5.6.120.0030.08020.93
5.6.110.0030.08320.91
5.6.100.0000.08720.92
5.6.90.0030.07721.01
5.6.80.0100.07020.45
5.6.70.0000.07720.36
5.6.60.0030.08020.48
5.6.50.0000.07320.50
5.6.40.0030.07020.47
5.6.30.0030.07020.40
5.6.20.0030.07720.39
5.6.10.0030.07720.33
5.6.00.0070.07720.36
5.5.360.0000.08720.31
5.5.350.0030.06320.37
5.5.340.0000.08020.76
5.5.330.0030.08320.82
5.5.320.0030.08720.71
5.5.310.0000.08720.86
5.5.300.0100.08020.74
5.5.290.0300.06020.81
5.5.280.0030.08720.71
5.5.270.0130.07720.85
5.5.260.0070.07320.87
5.5.250.0030.08720.66
5.5.240.0070.07320.10
5.5.230.0070.07720.23
5.5.220.0030.08020.18
5.5.210.0100.07320.24
5.5.200.0000.08320.27
5.5.190.0030.08320.25
5.5.180.0030.07320.24
5.5.160.0030.07720.25
5.5.150.0100.05720.21
5.5.140.0030.07320.16
5.5.130.0100.06720.07
5.5.120.0030.07720.20
5.5.110.0000.04720.15
5.5.100.0100.06020.00
5.5.90.0000.08320.13
5.5.80.0070.07320.10
5.5.70.0030.08319.98
5.5.60.0070.07720.13
5.5.50.0030.06320.11
5.5.40.0030.08320.03
5.5.30.0070.07019.91
5.5.20.0070.08020.13
5.5.10.0070.07719.95
5.5.00.0070.07320.08

preferences:
64.75 ms | 401 KiB | 5 Q