3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(datetime::createFromFormat('!h H a', '01 13 pm')); // should be "1970-01-01 13:00:00.000000"

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.1.130.0000.00817.59
8.1.120.0040.00717.44
8.1.110.0050.00317.47
8.1.100.0060.00317.29
8.1.90.0000.01017.35
8.1.80.0000.00717.48
8.1.70.0030.00317.40
8.1.60.0000.00917.56
8.1.50.0000.00717.50
8.1.40.0030.00517.34
8.1.30.0020.00517.64
8.1.20.0000.00717.59
8.1.10.0080.00017.43
8.1.00.0040.00417.43
8.0.260.0050.00216.97
8.0.250.0070.00016.96
8.0.240.0000.00617.08
8.0.230.0070.00017.09
8.0.220.0000.00716.94
8.0.210.0030.00517.03
8.0.200.0000.00816.98
8.0.190.0050.00517.00
8.0.180.0030.00517.09
8.0.170.0040.00417.05
8.0.160.0000.00817.05
8.0.150.0040.00416.91
8.0.140.0000.00916.83
8.0.130.0030.00313.32
8.0.120.0040.00416.95
8.0.110.0040.00416.81
8.0.100.0000.00716.82
8.0.90.0050.00316.97
8.0.80.0130.00616.94
8.0.70.0040.00417.01
8.0.60.0070.00016.99
8.0.50.0050.00217.01
8.0.30.0070.01217.05
8.0.20.0180.00917.40
8.0.10.0030.00316.91
8.0.00.0140.00616.63
7.4.330.0000.00515.55
7.4.320.0070.00016.52
7.4.300.0030.00316.49
7.4.290.0070.00016.63
7.4.280.0000.00716.45
7.4.270.0070.00016.51
7.4.260.0000.00816.51
7.4.250.0040.00416.33
7.4.240.0040.00416.53
7.4.230.0000.00716.70
7.4.220.0000.00916.59
7.4.210.0070.00916.66
7.4.200.0000.00816.72
7.4.160.0090.00716.35
7.4.140.0080.01217.86
7.4.130.0140.00616.48
7.4.120.0110.00816.55
7.4.110.0080.00916.71
7.4.100.0060.01316.47
7.4.90.0100.00716.46
7.4.80.0140.00819.39
7.4.70.0030.01316.75
7.4.60.0040.01216.30
7.4.50.0040.01416.42
7.4.40.0110.00716.64
7.4.00.0000.01514.88
7.3.330.0000.00513.06
7.3.320.0060.00013.24
7.3.310.0050.00316.13
7.3.300.0040.00416.27
7.3.290.0070.00016.20
7.3.280.0140.00016.22
7.3.260.0100.00916.43
7.3.240.0080.01116.34
7.3.230.0170.00016.34
7.3.210.0170.00716.55
7.3.200.0090.00916.54
7.3.190.0060.00916.29
7.3.180.0090.01316.47
7.3.170.0170.00016.28
7.3.160.0110.01116.47
7.2.330.0070.01316.71
7.2.320.0030.01616.58
7.2.310.0160.00916.71
7.2.300.0100.01016.47
7.2.290.0060.01216.27
7.2.90.0690.00514.46
7.2.80.0850.00514.67
7.2.70.0380.00714.78
7.2.60.0590.00614.74
7.2.50.0410.00715.07
7.2.40.0950.00514.79
7.2.30.0890.00914.93
7.2.20.0840.00514.77
7.2.10.0540.00314.81
7.2.00.0430.00714.54
7.1.210.0500.00913.74
7.1.200.0500.00513.76
7.1.190.0690.00813.92
7.1.180.0500.00713.56
7.1.170.0490.00913.72
7.1.160.0840.00513.85
7.1.150.0900.00613.89
7.1.140.0960.00413.61
7.1.130.0430.00913.80
7.1.120.0580.00813.80
7.1.110.0810.00713.86
7.1.100.0420.00813.61
7.1.90.0810.00913.89
7.1.80.0830.01013.90
7.1.70.1320.00613.96
7.1.60.1600.00831.91
7.1.50.1630.01031.80
7.1.40.2140.01131.71
7.1.30.2200.01031.80
7.1.20.1520.00931.85
7.1.10.1270.00613.96
7.1.00.1020.00713.71
7.0.310.0400.00413.39
7.0.300.0830.01013.47
7.0.290.1550.00313.66
7.0.280.0870.00513.42
7.0.270.1100.00013.40
7.0.260.0750.00713.34
7.0.250.0860.00313.37
7.0.240.0740.00913.75
7.0.230.0710.00613.71
7.0.220.0820.00613.61
7.0.210.0500.01013.63
7.0.200.1120.00613.72
7.0.190.0630.00913.75
7.0.180.0700.00313.43
7.0.170.0770.00613.68
7.0.160.0600.00913.60
7.0.150.0810.00313.34
7.0.140.0610.00713.63
7.0.130.0550.01513.49
7.0.120.0420.01013.76
7.0.110.0560.01213.55
7.0.100.0460.01013.75
7.0.90.0470.00613.75
7.0.80.0580.00713.64
7.0.70.0480.00613.70
7.0.60.0910.00013.69
7.0.50.0450.00613.67
7.0.40.0460.00613.62
7.0.30.0630.00713.78
7.0.20.0380.00713.73
7.0.10.0480.00613.64
7.0.00.0390.00713.75
5.6.300.0050.00714.20
5.6.290.0180.00013.86
5.6.280.0150.00814.34
5.6.270.0090.00914.28
5.6.260.0120.01114.31
5.6.250.0110.01114.23
5.6.240.0140.01214.42
5.6.230.0160.00814.17
5.6.220.0140.00914.36
5.6.210.0120.00514.18
5.6.200.0110.01114.21
5.6.190.0220.00014.28
5.6.180.0150.01114.22
5.6.170.0180.00713.96
5.6.160.0110.00814.28
5.6.150.0180.00314.31
5.6.140.0130.00714.29
5.6.130.0170.00614.52
5.6.120.0120.01214.25
5.6.110.0070.01414.29
5.6.100.0170.00714.25
5.6.90.0030.01714.38
5.6.80.0160.00314.07
5.6.70.0110.01114.21
5.6.60.0130.01014.27
5.6.50.0180.00614.14
5.6.40.0110.01113.91
5.6.30.0220.01114.50
5.6.20.0140.00913.93
5.6.10.0080.01314.05
5.6.00.0070.01414.16
5.5.380.0100.00511.05
5.5.370.0140.00511.07
5.5.360.0130.00411.02
5.5.350.0090.00911.13
5.5.340.0080.00911.03
5.5.330.0120.00911.09
5.5.320.0090.00410.91
5.5.310.0130.00011.12
5.5.300.0110.00411.08
5.5.290.0040.00811.04
5.5.280.0060.01311.02
5.5.270.0100.00711.08
5.5.260.0100.00610.77
5.5.250.0110.00311.05
5.5.240.0120.00310.92
5.5.230.0110.00711.09
5.5.220.0140.00411.03
5.5.210.0090.00610.84
5.5.200.0120.00610.97
5.5.190.0080.00910.82
5.5.180.0080.00810.83
5.5.170.0100.01014.13
5.5.160.0070.00710.78
5.5.150.0100.00710.88
5.5.140.0140.00011.07
5.5.130.0060.01010.98
5.5.120.0150.00010.84
5.5.110.0090.00911.16
5.5.100.0000.01710.72
5.5.90.0170.00010.95
5.5.80.0100.01011.17
5.5.70.0140.00410.82
5.5.60.0140.00310.86
5.5.50.0120.00310.94
5.5.40.0090.00610.71
5.5.30.0090.00910.72
5.5.20.0070.00710.74
5.5.10.0100.00710.96
5.5.00.0120.00711.08
5.4.450.0080.00810.80
5.4.440.0120.00710.90
5.4.430.0150.00010.93
5.4.420.0070.00710.98
5.4.410.0100.00410.89
5.4.400.0140.00310.88
5.4.390.0070.00810.54
5.4.380.0100.00510.88
5.4.370.0060.00911.07
5.4.360.0100.00710.83
5.4.350.0060.01110.71
5.4.340.0170.00010.72
5.4.330.0070.00510.92
5.4.320.0070.00711.08
5.4.310.0000.01910.58
5.4.300.0180.00010.92
5.4.290.0090.00710.92
5.4.280.0040.01310.97
5.4.270.0040.00810.58
5.4.260.0050.01110.70
5.4.250.0050.01010.64
5.4.240.0080.00810.92
5.4.230.0070.01010.95
5.4.220.0080.01111.05
5.4.210.0120.00611.09
5.4.200.0120.00410.77
5.4.190.0080.01110.88
5.4.180.0140.00611.09
5.4.170.0060.00610.98
5.4.160.0070.00710.53
5.4.150.0070.01410.74
5.4.140.0150.00310.81
5.4.130.0070.00711.00
5.4.120.0140.00311.00
5.4.110.0060.01210.80
5.4.100.0040.01210.75
5.4.90.0100.00510.82
5.4.80.0100.00510.99
5.4.70.0140.00310.98
5.4.60.0090.00710.81
5.4.50.0150.00010.85
5.4.40.0000.01510.90
5.4.30.0140.00610.96
5.4.20.0140.00310.88
5.4.10.0100.00710.89
5.4.00.0120.00610.77
5.3.290.0080.00810.44
5.3.280.0100.00510.31
5.3.270.0070.00710.43
5.3.260.0130.00510.61
5.3.250.0050.00910.50
5.3.240.0090.00710.44
5.3.230.0090.00910.53
5.3.220.0040.00810.24
5.3.210.0070.00710.29
5.3.200.0080.00510.24
5.3.190.0000.01110.37
5.3.180.0100.00310.49
5.3.170.0100.00710.43
5.3.160.0100.00310.36
5.3.150.0080.00810.60
5.3.140.0170.00010.54
5.3.130.0040.00810.52
5.3.120.0130.00310.48
5.3.110.0140.00010.57
5.3.100.0060.00610.57
5.3.90.0100.00210.41
5.3.80.0080.00610.11
5.3.70.0050.00910.23
5.3.60.0050.00910.48
5.3.50.0070.00710.27
5.3.40.0000.01310.39
5.3.30.0100.00410.47
5.3.20.0070.00710.41
5.3.10.0050.01410.34
5.3.00.0060.01110.30
5.2.170.0050.0059.30
5.2.160.0060.0039.35
5.2.150.0070.0079.07
5.2.140.0100.0009.38
5.2.130.0070.0059.07
5.2.120.0060.0069.31
5.2.110.0130.0009.30
5.2.100.0000.0099.18
5.2.90.0000.0109.18
5.2.80.0080.0078.88
5.2.70.0060.0069.00
5.2.60.0060.0069.00
5.2.50.0070.0079.05
5.2.40.0060.0069.05
5.2.30.0090.0039.16
5.2.20.0100.0039.03
5.2.10.0100.0038.78
5.2.00.0120.0008.86
5.1.60.0000.0118.36
5.1.50.0130.0008.36
5.1.40.0090.0008.46
5.1.30.0080.0048.46
5.1.20.0080.0008.27
5.1.10.0090.0038.45
5.1.00.0060.0038.23
5.0.50.0000.0117.83
5.0.40.0040.0047.83
5.0.30.0050.0037.83
5.0.20.0080.0037.83
5.0.10.0070.0047.83
5.0.00.0000.0077.83
4.4.90.0050.0037.83
4.4.80.0070.0037.83
4.4.70.0040.0047.83
4.4.60.0030.0067.83
4.4.50.0060.0007.83
4.4.40.0000.0097.83
4.4.30.0060.0037.83
4.4.20.0030.0057.83
4.4.10.0080.0007.83
4.4.00.0040.0017.83
4.3.110.0040.0047.83
4.3.100.0000.0077.83
4.3.90.0040.0047.83
4.3.80.0050.0037.83
4.3.70.0090.0007.83
4.3.60.0060.0037.83
4.3.50.0070.0037.83
4.3.40.0060.0007.83
4.3.30.0000.0087.83
4.3.20.0060.0007.83
4.3.10.0040.0047.83
4.3.00.0020.0057.83

preferences:
13.87 ms | 406 KiB | 5 Q