3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo DateTime::createFromFormat("H:ia", "23:45pm")->format("H:ia");

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.80.0090.00016.50
8.3.70.0090.00916.58
8.3.60.0180.00316.63
8.3.50.0080.00818.21
8.3.40.0070.00718.63
8.3.30.0120.00318.88
8.3.20.0070.00020.29
8.3.10.0060.00323.66
8.3.00.0070.00021.73
8.2.200.0090.00016.63
8.2.190.0140.00418.54
8.2.180.0090.00618.43
8.2.170.0100.01018.87
8.2.160.0070.00722.96
8.2.150.0050.00225.66
8.2.140.0080.00024.66
8.2.130.0000.00826.16
8.2.120.0040.00420.82
8.2.110.0050.00520.91
8.2.100.0040.00717.72
8.2.90.0000.00817.84
8.2.80.0050.00317.97
8.2.70.0080.00017.75
8.2.60.0030.00617.80
8.2.50.0040.00418.07
8.2.40.0040.00718.17
8.2.30.0040.00418.06
8.2.20.0000.00718.07
8.2.10.0000.00717.87
8.2.00.0000.00718.03
8.1.290.0030.00618.88
8.1.280.0090.00625.92
8.1.270.0040.00422.19
8.1.260.0080.00026.35
8.1.250.0060.00328.09
8.1.240.0060.00820.77
8.1.230.0070.00320.95
8.1.220.0000.00717.78
8.1.210.0040.00418.79
8.1.200.0040.00417.35
8.1.190.0050.00317.23
8.1.180.0050.00318.10
8.1.170.0060.00318.39
8.1.160.0000.00818.77
8.1.150.0000.00819.98
8.1.140.0000.00718.95
8.1.130.0000.00720.79
8.1.120.0030.00317.45
8.1.110.0040.00417.50
8.1.100.0000.00717.46
8.1.90.0040.00417.46
8.1.80.0050.00217.34
8.1.70.0000.00717.47
8.1.60.0000.00817.48
8.1.50.0050.00317.45
8.1.40.0080.00017.49
8.1.30.0030.00617.59
8.1.20.0070.00017.61
8.1.10.0000.00717.58
8.1.00.0090.00017.48
8.0.300.0000.00820.00
8.0.290.0090.00016.88
8.0.280.0000.00718.41
8.0.270.0030.00616.95
8.0.260.0070.00018.52
8.0.250.0030.00317.08
8.0.240.0000.00717.11
8.0.230.0000.00717.14
8.0.220.0000.00717.03
8.0.210.0070.00016.92
8.0.200.0030.00316.94
8.0.190.0030.00517.11
8.0.180.0000.00717.04
8.0.170.0000.00717.08
8.0.160.0000.00817.06
8.0.150.0000.00816.92
8.0.140.0030.00616.96
8.0.130.0030.00613.30
8.0.120.0030.00616.98
8.0.110.0070.00016.98
8.0.100.0050.00316.96
8.0.90.0050.00216.92
8.0.80.0060.01016.93
8.0.70.0040.00416.84
8.0.60.0000.00716.96
8.0.50.0040.00417.01
8.0.30.0070.01117.08
8.0.20.0120.00917.40
8.0.10.0040.00417.05
8.0.00.0110.00716.82
7.4.330.0060.00015.55
7.4.320.0030.00316.52
7.4.300.0030.00316.58
7.4.290.0000.00616.56
7.4.280.0040.00416.59
7.4.270.0030.00316.52
7.4.260.0000.00816.56
7.4.250.0050.00216.45
7.4.240.0000.00716.63
7.4.230.0030.00316.50
7.4.220.0100.00716.62
7.4.210.0070.00716.54
7.4.200.0030.00316.63
7.4.150.0100.01317.40
7.4.140.0130.00817.86
7.4.130.0060.01616.70
7.4.120.0110.01216.58
7.4.110.0030.01416.46
7.4.100.0050.01116.44
7.4.90.0120.00916.56
7.4.80.0150.00619.39
7.4.70.0140.00316.49
7.4.60.0100.01016.72
7.4.50.0110.00716.33
7.4.40.0140.00316.61
7.4.30.0090.00916.30
7.4.00.0060.00314.82
7.3.330.0000.00613.09
7.3.320.0000.00612.95
7.3.310.0070.00016.31
7.3.300.0060.00016.28
7.3.290.0110.00816.26
7.3.280.0090.00616.24
7.3.270.0100.00617.40
7.3.260.0090.00916.44
7.3.250.0070.01016.40
7.3.240.0080.00816.40
7.3.230.0120.00316.45
7.3.210.0080.01516.47
7.3.200.0100.00716.61
7.3.190.0050.01016.41
7.3.180.0000.01516.26
7.3.170.0040.01516.32
7.3.160.0030.01316.36
7.3.10.0140.00016.73
7.3.00.0100.00316.41
7.2.330.0120.00616.46
7.2.320.0150.00316.68
7.2.310.0130.00516.40
7.2.300.0060.01516.77
7.2.290.0130.00816.50
7.2.130.0070.01016.75
7.2.120.0130.01316.54
7.2.110.0110.00616.91
7.2.100.0180.00016.61
7.2.90.0120.00816.77
7.2.80.0060.01216.75
7.2.70.0150.00316.85
7.2.60.0110.00916.86
7.2.50.0100.00516.85
7.2.40.0000.01616.65
7.2.30.0070.01116.76
7.2.20.0100.01016.82
7.2.10.0110.00416.70
7.2.00.0070.01117.02
7.1.250.0070.01415.56
7.1.200.0060.00615.50
7.1.120.0760.00716.79
7.1.110.0520.01415.76
7.1.100.0660.00715.83
7.1.90.0770.01016.29
7.1.80.0650.01315.87
7.1.70.0790.01015.29
7.1.60.1140.01333.12
7.1.50.0900.01033.03
7.1.40.1270.01332.47
7.1.30.1600.01432.75
7.1.20.1240.01332.86
7.1.10.1340.01014.70
7.1.00.0870.01014.73
7.0.250.0900.00715.77
7.0.240.0530.01315.83
7.0.230.0710.00715.74
7.0.220.0740.00715.61
7.0.210.0980.00714.96
7.0.200.0920.01014.92
7.0.190.1560.01015.02
7.0.180.1050.02014.58
7.0.170.2060.00714.61
7.0.160.1230.01014.41
7.0.150.1050.01014.45
7.0.140.1580.01014.52
7.0.130.1110.01514.79
7.0.120.1320.01714.61
7.0.110.0820.01014.25
7.0.100.0730.01314.54
7.0.90.0780.00914.37
7.0.80.0860.00914.65
7.0.70.1010.01014.38
7.0.60.0810.01014.16
7.0.50.1200.01014.45
7.0.40.1330.01314.77
7.0.30.0850.01514.49
7.0.20.1400.01914.47
7.0.10.0870.00714.43
7.0.00.0840.00714.52

preferences:
57.66 ms | 401 KiB | 5 Q