3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(DateTime::createFromFormat('Y-m-d', '2022-21-01'));

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.0030.01717.87
8.4.10.0250.00820.56
8.3.150.0120.00617.08
8.3.140.0210.01117.39
8.3.130.0200.00416.65
8.3.120.0180.00818.49
8.3.110.0150.00917.51
8.3.100.0190.00816.73
8.3.90.0190.00721.63
8.3.80.0200.00717.16
8.3.70.0240.00716.36
8.3.60.0210.00616.37
8.3.50.0230.00817.46
8.3.40.0220.00718.95
8.3.30.0180.00518.79
8.3.20.0110.00220.75
8.3.10.0090.00321.14
8.3.00.0060.00421.87
8.2.270.0090.00917.22
8.2.260.0110.00716.47
8.2.250.0120.00716.34
8.2.240.0090.00416.90
8.2.230.0090.00418.68
8.2.220.0120.00120.35
8.2.210.0190.00421.58
8.2.200.0110.00517.21
8.2.190.0130.00417.36
8.2.180.0140.00516.44
8.2.170.0180.00218.17
8.2.160.0090.00720.16
8.2.150.0090.00421.57
8.2.140.0110.00221.09
8.2.130.0080.00521.84
8.2.120.0170.00419.27
8.2.110.0100.00818.42
8.2.100.0090.01017.50
8.2.90.0200.00417.73
8.2.80.0170.00718.15
8.2.70.0210.00633.50
8.2.60.0150.01033.52
8.2.50.0200.00533.50
8.2.40.0160.00833.46
8.2.30.0140.00933.67
8.2.20.0160.00733.51
8.2.10.0160.00833.53
8.2.00.0170.00633.42
8.1.310.0210.00716.39
8.1.300.0100.01317.34
8.1.290.0180.00223.53
8.1.280.0130.01221.05
8.1.270.0200.00420.92
8.1.260.0190.00521.83
8.1.250.0200.00322.61
8.1.240.0250.00219.76
8.1.230.0220.00419.20
8.1.220.0130.00817.54
8.1.210.0140.00717.99
8.1.200.0180.00533.44
8.1.190.0160.00733.41
8.1.180.0170.00533.42
8.1.170.0140.00933.41
8.1.160.0190.00433.47
8.1.150.0160.00633.50
8.1.140.0130.01033.45
8.1.130.0170.00433.48
8.1.120.0170.00533.52
8.1.110.0140.00733.55
8.1.100.0150.00733.42
8.1.90.0180.00533.45
8.1.80.0150.00833.43
8.1.70.0150.00833.57
8.1.60.0190.00833.42
8.1.50.0190.00733.40
8.1.40.0170.00733.48
8.1.30.0180.00633.50
8.1.20.0160.00933.48
8.1.10.0180.00733.46
8.1.00.0200.00433.46
8.0.300.0120.01018.41
8.0.290.0180.00633.31
8.0.280.0160.00733.30
8.0.270.0210.00233.33
8.0.260.0190.00633.27
8.0.250.0170.00533.33
8.0.240.0180.00633.35
8.0.230.0220.00233.35
8.0.220.0170.00533.32
8.0.210.0140.00833.32
8.0.200.0170.00633.29
8.0.190.0190.00433.31
8.0.180.0140.00833.29
8.0.170.0190.00433.31
8.0.160.0160.00633.33
8.0.150.0170.00633.31
8.0.140.0150.00533.32
8.0.130.0150.00633.29
8.0.120.0130.00733.21
8.0.110.0180.00433.23
8.0.100.0160.00533.22
8.0.90.0170.00533.25
8.0.80.0200.00433.27
8.0.70.0180.00733.15
8.0.60.0190.00533.22
8.0.50.0180.00433.32
8.0.30.0190.00433.28
8.0.20.0180.00433.27
8.0.10.0180.00533.35

preferences:
27.89 ms | 403 KiB | 5 Q