3v4l.org

run code in 300+ PHP versions simultaneously
<?php $t = DateTime::createFromFormat('Y-m-d', '2018-02-31'); var_dump($t);

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.40.0110.00718.88
8.3.30.0040.01418.49
8.3.20.0080.00019.30
8.3.10.0030.00621.90
8.3.00.0040.00420.69
8.2.170.0070.01122.96
8.2.160.0110.00422.13
8.2.150.0000.00824.18
8.2.140.0040.00424.66
8.2.130.0080.00018.03
8.2.120.0040.00426.35
8.2.110.0000.01020.82
8.2.100.0060.00617.91
8.2.90.0040.00417.75
8.2.80.0050.00317.97
8.2.70.0000.00817.80
8.2.60.0060.00318.09
8.2.50.0030.00618.10
8.2.40.0080.00019.35
8.2.30.0070.00019.18
8.2.20.0000.00718.05
8.2.10.0000.00818.15
8.2.00.0060.00317.83
8.1.270.0040.00419.00
8.1.260.0050.00326.35
8.1.250.0050.00228.09
8.1.240.0040.00422.05
8.1.230.0000.01317.48
8.1.220.0060.00317.74
8.1.210.0000.00818.77
8.1.200.0090.00017.48
8.1.190.0040.00417.23
8.1.180.0050.00318.10
8.1.170.0050.00318.56
8.1.160.0050.00318.94
8.1.150.0040.00418.87
8.1.140.0000.00722.00
8.1.130.0000.00620.31
8.1.120.0000.00817.55
8.1.110.0040.00417.39
8.1.100.0040.00417.48
8.1.90.0000.00817.52
8.1.80.0050.00217.53
8.1.70.0000.00717.50
8.1.60.0080.00017.61
8.1.50.0000.00817.38
8.1.40.0040.00417.53
8.1.30.0040.00417.48
8.1.20.0080.00017.52
8.1.10.0000.00817.55
8.1.00.0040.00417.55
8.0.300.0020.00518.77
8.0.290.0020.00516.88
8.0.280.0070.00018.35
8.0.270.0070.00017.18
8.0.260.0000.00618.38
8.0.250.0000.00817.05
8.0.240.0000.00717.06
8.0.230.0030.00316.97
8.0.220.0090.00317.02
8.0.210.0030.00317.01
8.0.200.0000.00917.08
8.0.190.0040.00417.16
8.0.180.0030.00517.07
8.0.170.0030.00617.05
8.0.160.0000.00717.09
8.0.150.0040.00417.03
8.0.140.0030.00416.92
8.0.130.0080.00013.35
8.0.120.0000.00716.96
8.0.110.0000.00716.96
8.0.100.0050.00317.02
8.0.90.0040.00417.05
8.0.80.0050.01116.96
8.0.70.0000.00817.04
8.0.60.0000.00716.88
8.0.50.0040.00417.06
8.0.30.0060.00916.77
8.0.20.0080.01117.40
8.0.10.0070.00017.12
8.0.00.0080.01216.87
7.4.330.0000.00615.55
7.4.320.0030.00316.42
7.4.300.0030.00316.56
7.4.290.0070.00016.39
7.4.280.0000.00716.46
7.4.270.0070.00016.52
7.4.260.0000.00716.57
7.4.250.0030.00516.36
7.4.240.0040.00416.62
7.4.230.0000.00716.39
7.4.220.0050.00316.63
7.4.210.0120.00216.45
7.4.200.0030.00316.25
7.4.160.0120.00716.47
7.4.140.0130.00817.86
7.4.130.0070.01016.45
7.4.120.0110.01116.54
7.3.330.0000.00513.17
7.3.320.0060.00013.16
7.3.310.0030.00716.34
7.3.300.0000.00716.27
7.3.290.0070.00016.13
7.3.280.0130.00616.29
7.3.260.0110.01016.43
7.3.240.0100.00816.43

preferences:
61.94 ms | 400 KiB | 5 Q