3v4l.org

run code in 300+ PHP versions simultaneously
<?php $format = 'd.m.Y H:i:s D l S z F M n y H u e T'; $value = '13.08.2015 17:08:23 Thu Thursday th 224 August Aug 8 15 17 432563 UTC UTC'; $dateTime = \DateTime::createFromFormat($format, $value); echo $dateTime->getTimestamp() . "\n"; echo $dateTime->format($format);

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.20.0130.00717.62
8.4.10.0040.00419.57
8.3.150.0040.00417.29
8.3.140.0040.00418.71
8.3.130.0060.00318.53
8.3.120.0130.00320.91
8.3.110.0120.00920.94
8.3.100.0070.01116.75
8.3.90.0050.00318.43
8.3.80.0070.00318.56
8.3.70.0120.00618.43
8.3.60.0070.00716.75
8.3.50.0080.01421.05
8.3.40.0040.01118.98
8.3.30.0120.00918.86
8.3.20.0080.00018.85
8.3.10.0080.00023.73
8.3.00.0000.00821.86
8.2.260.0080.00020.86
8.2.250.0080.00018.48
8.2.240.0000.00817.58
8.2.230.0040.00422.58
8.2.220.0070.00337.54
8.2.210.0040.00426.77
8.2.200.0060.00316.75
8.2.190.0080.01116.63
8.2.180.0070.01418.41
8.2.170.0140.00422.96
8.2.160.0140.00022.20
8.2.150.0070.00024.18
8.2.140.0080.00024.66
8.2.130.0050.00320.02
8.2.120.0070.00026.35
8.2.110.0110.00021.31
8.2.100.0070.00417.91
8.2.90.0040.00418.34
8.2.80.0090.00017.97
8.2.70.0030.00618.05
8.2.60.0070.00019.50
8.2.50.0000.00918.10
8.2.40.0000.00920.72
8.2.30.0070.00019.43
8.2.20.0030.00518.27
8.2.10.0000.00818.25
8.2.00.0000.00717.94
8.1.310.0130.00616.81
8.1.300.0100.01018.63
8.1.290.0040.00418.88
8.1.280.0150.00425.92
8.1.270.0040.00422.32
8.1.260.0050.00228.09
8.1.250.0080.00028.09
8.1.240.0070.00324.09
8.1.230.0000.01221.16
8.1.220.0060.00317.78
8.1.210.0000.00819.10
8.1.200.0040.00417.61
8.1.190.0040.00717.25
8.1.180.0060.00318.10
8.1.170.0050.00318.78
8.1.160.0030.00322.23
8.1.150.0040.00419.07
8.1.140.0070.00019.76
8.1.130.0030.00317.79
8.1.120.0000.00817.72
8.1.110.0030.00517.66
8.1.100.0030.00517.71
8.1.90.0030.00317.71
8.1.80.0070.00017.67
8.1.70.0070.00017.71
8.1.60.0090.00317.80
8.1.50.0040.00417.73
8.1.40.0090.00017.71
8.1.30.0000.01017.80
8.1.20.0000.00717.67
8.1.10.0070.00017.75
8.1.00.0070.00017.75
8.0.300.0030.00720.29
8.0.290.0080.00016.88
8.0.280.0040.00418.66
8.0.270.0000.00717.36
8.0.260.0030.00317.32
8.0.250.0030.00317.18
8.0.240.0000.00717.32
8.0.230.0000.00817.31
8.0.220.0070.00017.18
8.0.210.0050.00217.22
8.0.200.0000.00717.26
8.0.190.0040.00417.25
8.0.180.0050.00317.21
8.0.170.0000.00717.28
8.0.160.0040.00417.10
8.0.150.0050.00217.25
8.0.140.0070.00017.17
8.0.130.0060.00013.66
8.0.120.0080.00017.05
8.0.110.0040.00417.23
8.0.100.0050.00317.18
8.0.90.0040.00417.27
8.0.80.0160.00317.09
8.0.70.0050.00317.25
8.0.60.0040.00417.00
8.0.50.0000.00717.11
8.0.30.0140.00417.19
8.0.20.0090.00917.40
8.0.10.0040.00417.29
8.0.00.0100.00916.67
7.4.330.0000.00615.55
7.4.320.0000.00616.62
7.4.300.0070.00016.48
7.4.290.0000.00716.77
7.4.280.0040.00416.56
7.4.270.0040.00416.71
7.4.260.0000.00916.73
7.4.250.0000.00916.73
7.4.240.0030.00316.63
7.4.230.0070.00016.81
7.4.220.0130.00316.56
7.4.210.0110.01016.52
7.4.200.0030.00316.79
7.4.160.0050.01316.63
7.4.150.0140.00417.40
7.4.140.0060.01217.86
7.4.130.0070.01116.54
7.4.120.0130.00416.62
7.4.110.0090.01216.64
7.4.100.0100.00616.54
7.4.90.0120.00616.48
7.4.80.0090.00919.39
7.4.70.0060.01216.48
7.4.60.0030.01316.61
7.4.50.0080.00816.46
7.4.40.0080.01316.77
7.4.30.0090.00616.73
7.4.00.0070.00715.25
7.3.330.0050.00013.41
7.3.320.0020.00213.45
7.3.310.0040.00416.36
7.3.300.0000.00816.55
7.3.290.0080.00716.46
7.3.280.0070.01216.46
7.3.270.0060.01117.40
7.3.260.0090.00816.55
7.3.250.0110.01016.44
7.3.240.0130.01316.72
7.3.230.0210.00016.48
7.3.210.0130.00916.46
7.3.200.0070.01016.53
7.3.190.0110.01016.48
7.3.180.0120.00616.48
7.3.170.0100.00516.47
7.3.160.0140.00816.57
7.2.330.0150.00416.91
7.2.320.0110.00516.94
7.2.310.0070.01016.50
7.2.300.0100.01016.90
7.2.290.0070.01016.69
7.2.00.0030.01019.42
7.1.70.0000.00817.34
7.1.60.0030.00717.48
7.1.00.0000.07722.72
7.0.200.0330.00715.16
7.0.120.0070.06022.25
7.0.110.0200.07022.29
7.0.100.0100.06322.30
7.0.90.0200.06022.21
7.0.80.0100.05322.30
7.0.70.0100.07722.34
7.0.60.0100.05722.15
7.0.50.0030.06322.23
7.0.40.0070.05322.30
7.0.30.0070.06022.27
7.0.20.0100.05322.14
7.0.10.0100.05322.18
7.0.00.0170.06722.18
5.6.270.0070.05721.29
5.6.260.0030.06020.94
5.6.250.0130.05721.03
5.6.240.0030.06320.98
5.6.230.0130.05321.01
5.6.220.0100.07720.89
5.6.210.0170.05321.29
5.6.200.0270.05321.22
5.6.190.0130.05021.13
5.6.180.0130.05321.15
5.6.170.0230.04321.22
5.6.160.0130.05321.02
5.6.150.0100.07721.03
5.6.140.0170.05321.22
5.6.130.0100.05320.98
5.6.120.0100.06021.23
5.6.110.0030.06320.89
5.6.100.0130.05721.13
5.6.90.0070.06021.23
5.6.80.0130.05320.40
5.6.70.0070.06020.52
5.6.60.0130.06020.27
5.6.50.0070.06020.57
5.6.40.0100.05720.35
5.6.30.0170.05320.50
5.6.20.0070.07020.48
5.6.10.0130.05320.34
5.6.00.0130.05320.58

preferences:
36.8 ms | 403 KiB | 5 Q