3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump( DateTime::createFromFormat('G:iA', '15:00PM'), DateTime::createFromFormat('g:iA', '3:00PM') );

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.0030.00318.92
8.1.120.0000.00717.35
8.1.110.0000.00717.43
8.1.100.0000.00717.41
8.1.90.0070.00017.48
8.1.80.0030.00617.50
8.1.70.0050.00217.40
8.1.60.0080.00317.38
8.1.50.0000.00817.48
8.1.40.0070.00017.43
8.1.30.0000.00817.54
8.1.20.0030.00517.51
8.1.10.0000.00717.44
8.1.00.0100.00017.39
8.0.260.0030.00716.90
8.0.250.0030.00317.02
8.0.240.0000.00617.01
8.0.230.0070.00016.96
8.0.220.0050.00317.04
8.0.210.0070.00016.90
8.0.200.0030.00617.04
8.0.190.0070.00016.99
8.0.180.0070.00017.00
8.0.170.0030.00617.04
8.0.160.0040.00417.12
8.0.150.0000.00716.87
8.0.140.0070.00016.91
8.0.130.0000.00613.37
8.0.120.0040.00416.93
8.0.110.0040.00416.92
8.0.100.0040.00416.98
8.0.90.0040.00316.81
8.0.80.0060.00516.93
8.0.70.0040.00316.90
8.0.60.0000.00816.91
8.0.50.0030.00516.89
8.0.30.0080.00917.03
8.0.20.0100.00617.23
8.0.10.0040.00317.10
8.0.00.0070.00916.79
7.4.330.0060.00015.55
7.4.320.0030.00316.50
7.4.300.0000.00616.49
7.4.290.0070.00016.63
7.4.280.0040.00416.63
7.4.270.0080.00016.42
7.4.260.0080.00316.47
7.4.250.0040.00416.41
7.4.240.0000.00816.58
7.4.230.0040.00416.51
7.4.220.0040.00416.60
7.4.210.0070.00516.59
7.4.200.0000.00716.46
7.4.190.0000.00616.55
7.4.180.0000.00716.65
7.4.160.0100.00416.47
7.4.150.0040.00416.54
7.4.140.0090.00717.57
7.4.130.0050.00916.56
7.4.120.0100.00616.46
7.4.110.0100.00216.29
7.4.100.0030.00816.49
7.4.90.0030.00916.37
7.4.80.0020.01217.87
7.4.70.0060.00616.46
7.4.60.0070.00716.42
7.4.50.0070.00416.35
7.4.40.0050.00716.43
7.4.30.0000.00616.38
7.4.20.0040.00416.37
7.4.10.0030.00316.14
7.4.00.0100.00015.67
7.3.330.0000.00613.23
7.3.320.0000.00512.97
7.3.310.0060.00016.21
7.3.300.0030.00416.13
7.3.290.0100.00416.28
7.3.280.0060.00916.25
7.3.270.0040.00416.29
7.3.260.0060.01016.30
7.3.250.0100.00616.43
7.3.240.0070.00816.30
7.3.230.0100.00116.37
7.3.220.0040.00416.12
7.3.210.0050.00716.32
7.3.200.0050.00716.22
7.3.190.0080.00316.27
7.3.180.0080.00316.44
7.3.170.0040.00816.18
7.3.160.0020.01016.29
7.3.150.0000.00616.21
7.3.140.0030.00316.12
7.3.130.0000.00616.08
7.3.120.0030.00915.67
7.3.110.0050.00715.26
7.3.100.0030.00515.44
7.3.90.0080.00215.63
7.3.80.0020.00615.55
7.3.70.0040.00715.54
7.3.60.0020.00715.41
7.3.50.0060.00615.53
7.3.40.0050.00515.53
7.3.30.0040.00515.52
7.3.20.0000.01217.48
7.3.10.0090.00517.10
7.3.00.0030.01017.00
7.2.340.0070.00016.17
7.2.330.0030.00916.42
7.2.320.0080.00416.52
7.2.310.0070.00516.29
7.2.300.0100.00316.54
7.2.290.0060.00816.37
7.2.280.0000.00716.36
7.2.270.0000.00716.27
7.2.260.0000.00716.20
7.2.250.0030.00316.34
7.2.240.0070.00515.79
7.2.230.0080.00315.59
7.2.220.0050.00615.67
7.2.210.0030.00715.73
7.2.200.0050.00615.78
7.2.190.0060.00515.65
7.2.180.0090.00315.61
7.2.170.0050.00715.67
7.2.160.0050.00515.64
7.2.150.0030.00817.59
7.2.140.0020.00917.54
7.2.130.0070.00517.25
7.2.120.0050.00817.29
7.2.110.0060.00617.11
7.2.100.0060.00817.35
7.2.90.0080.00417.39
7.2.80.0050.00817.10
7.2.70.0050.01017.19
7.2.60.0090.00417.12
7.2.50.0060.00817.30
7.2.40.0090.00717.29
7.2.30.0120.00717.31
7.2.20.0070.00917.37
7.2.10.0110.00917.38
7.2.00.0250.00817.33
7.1.330.0030.00816.75
7.1.320.0030.00716.65
7.1.310.0030.00816.62
7.1.300.0060.00516.64
7.1.290.0080.00216.53
7.1.280.0060.00616.53
7.1.270.0060.00516.47
7.1.260.0040.00916.75
7.1.250.0040.01016.17
7.1.240.0070.00017.52
7.1.230.0000.00717.43
7.1.220.0040.00417.46
7.1.210.0030.00317.55
7.1.200.0050.00516.54
7.1.190.0030.00317.64
7.1.180.0040.00417.23
7.1.170.0000.00717.52
7.1.160.0040.00417.52
7.1.150.0210.00717.12
7.1.140.0080.00917.11
7.1.130.0120.00516.96
7.1.120.0070.01217.05
7.1.110.0090.01116.59
7.1.100.0130.00716.79
7.1.90.0070.01116.50
7.1.80.0110.00716.66
7.1.70.0090.00716.26
7.1.60.0170.00925.30
7.1.50.0180.00925.10
7.1.40.0240.00725.02
7.1.30.0260.00924.99
7.1.20.0170.01025.00
7.1.10.0090.00715.97
7.1.00.0070.00715.92
7.0.330.0060.00016.79
7.0.320.0000.00717.00
7.0.310.0060.00317.04
7.0.300.0080.00016.93
7.0.290.0050.00217.00
7.0.280.0000.00716.89
7.0.270.0000.00616.90
7.0.260.0000.00617.14
7.0.250.0030.00317.21
7.0.240.0000.00617.16
7.0.230.0000.00617.25
7.0.220.0000.00817.12
7.0.210.0060.00017.32
7.0.200.0000.00717.14
7.0.190.0070.00017.17
7.0.180.0030.00317.04
7.0.170.0030.00317.02
7.0.160.0000.00717.05
7.0.150.0000.00617.23
7.0.140.0060.00016.95
7.0.130.0030.00317.04
7.0.120.0030.00317.07
7.0.110.0070.00017.30
7.0.100.0000.00717.15
7.0.90.0000.00617.18
7.0.80.0030.00317.25
7.0.70.0060.00016.95
7.0.60.0050.00216.89
7.0.50.0000.00617.18
7.0.40.0030.00317.22
7.0.30.0030.00317.28
7.0.20.0030.00317.00
7.0.10.0030.00317.17
7.0.00.0030.00317.23
5.6.400.0030.00315.79
5.6.390.0000.00615.94
5.6.380.0060.00016.04
5.6.370.0030.00315.87
5.6.360.0060.00015.93
5.6.350.0030.00316.04
5.6.340.0050.00215.80
5.6.330.0070.00015.99
5.6.320.0000.00715.91
5.6.310.0030.00315.94
5.6.300.0000.00715.85
5.6.290.0030.00315.76
5.6.280.0060.00015.92
5.6.270.0030.00315.70
5.6.260.0030.00315.87
5.6.250.0060.00015.87
5.6.240.0000.00715.94
5.6.230.0070.00015.93
5.6.220.0040.00415.81
5.6.210.0060.00015.93
5.6.200.0000.00615.87
5.6.190.0040.00415.89
5.6.180.0000.00716.01
5.6.170.0030.00315.91
5.6.160.0050.00216.05
5.6.150.0040.00415.87
5.6.140.0000.00716.04
5.6.130.0070.00016.09
5.6.120.0070.00016.10
5.6.110.0070.00015.96
5.6.100.0000.00615.86
5.6.90.0060.00015.96
5.6.80.0040.00415.96
5.6.70.0080.00016.11
5.6.60.0030.00316.04
5.6.50.0030.00315.94
5.6.40.0040.00415.97
5.6.30.0000.00715.86
5.6.20.0030.00315.88
5.6.10.0030.00315.85
5.6.00.0030.00315.84
5.5.380.0030.00315.93
5.5.370.0000.00616.17
5.5.360.0000.00615.67
5.5.350.0000.00615.91
5.5.340.0030.00315.70
5.5.330.0060.00015.87
5.5.320.0060.00015.61
5.5.310.0000.00615.71
5.5.300.0030.00315.62
5.5.290.0060.00015.84
5.5.280.0070.00015.82
5.5.270.0000.00615.80
5.5.260.0000.00615.63
5.5.250.0000.00616.09
5.5.240.0030.00315.69
5.5.230.0070.00015.71
5.5.220.0060.00016.01
5.5.210.0000.00615.75
5.5.200.0000.00715.57
5.5.190.0040.00415.75
5.5.180.0000.00815.66
5.5.170.0000.00615.70
5.5.160.0000.00715.65
5.5.150.0070.00015.75
5.5.140.0020.00415.43
5.5.130.0030.00315.52
5.5.120.0000.00715.46
5.5.110.0030.00315.51
5.5.100.0000.00715.63
5.5.90.0030.00315.68
5.5.80.0050.00215.69
5.5.70.0000.00715.65
5.5.60.0030.00315.77
5.5.50.0070.00015.83
5.5.40.0030.00315.70
5.5.30.0020.00515.79
5.5.20.0000.00616.02
5.5.10.0030.00315.93
5.5.00.0030.00315.82
5.4.450.0050.00012.48
5.4.440.0000.00512.56
5.4.430.0050.00012.48
5.4.420.0020.00212.46
5.4.410.0020.00212.58
5.4.400.0040.00012.40
5.4.390.0020.00212.53
5.4.380.0000.00512.63
5.4.370.0050.00012.41
5.4.360.0030.00312.57
5.4.350.0050.00012.54
5.4.340.0030.00312.41
5.4.330.0000.00512.70
5.4.320.0020.00212.49
5.4.310.0060.00012.59
5.4.300.0020.00212.62
5.4.290.0000.00512.50
5.4.280.0000.00512.47
5.4.270.0000.00612.46
5.4.260.0060.00012.41
5.4.250.0000.00512.29
5.4.240.0050.00012.28
5.4.230.0000.00512.10
5.4.220.0030.00312.18
5.4.210.0000.00512.10
5.4.200.0050.00012.11
5.4.190.0000.00612.10
5.4.180.0050.00012.24
5.4.170.0000.00612.32
5.4.160.0000.00512.31
5.4.150.0000.00512.15
5.4.140.0050.00012.30
5.4.130.0050.00012.38
5.4.120.0000.00512.40
5.4.110.0000.00512.43
5.4.100.0000.00512.57
5.4.90.0000.00512.36
5.4.80.0050.00012.40
5.4.70.0000.00512.48
5.4.60.0020.00212.62
5.4.50.0020.00212.39
5.4.40.0000.00512.63
5.4.30.0050.00012.55
5.4.20.0020.00212.50
5.4.10.0000.00512.50
5.4.00.0060.00012.20
5.3.290.0000.00613.01
5.3.280.0030.00312.98
5.3.270.0030.00313.05
5.3.260.0000.00513.29
5.3.250.0050.00013.33
5.3.240.0000.00512.93
5.3.230.0000.00613.30
5.3.220.0060.00012.78
5.3.210.0000.00713.07
5.3.200.0050.00013.14
5.3.190.0050.00012.83
5.3.180.0000.00613.30
5.3.170.0020.00213.16
5.3.160.0030.00313.15
5.3.150.0030.00313.03
5.3.140.0060.00013.00
5.3.130.0000.00513.23
5.3.120.0000.00613.32
5.3.110.0000.00513.32
5.3.100.0060.00012.95
5.3.90.0050.00013.25
5.3.80.0030.00313.04
5.3.70.0000.00513.05
5.3.60.0000.00613.25
5.3.50.0050.00013.16
5.3.40.0030.00312.87
5.3.30.0070.00013.20
5.3.20.0000.00612.84
5.3.10.0030.00412.70
5.3.00.0050.00013.02
5.2.170.0000.00512.03
5.2.160.0000.00511.74
5.2.150.0030.00311.81
5.2.140.0000.00511.97
5.2.130.0020.00211.88
5.2.120.0000.00511.71
5.2.110.0000.00511.70
5.2.100.0030.00311.70
5.2.90.0000.00511.79
5.2.80.0000.00611.82
5.2.70.0000.00611.70
5.2.60.0030.00311.70
5.2.50.0050.00011.70
5.2.40.0030.00311.77
5.2.30.0030.00311.91
5.2.20.0030.00311.70
5.2.10.0000.00511.70
5.2.00.0000.00511.70
5.1.60.0040.00011.70
5.1.50.0020.00211.70
5.1.40.0000.00511.70
5.1.30.0020.00211.70
5.1.20.0000.00511.70
5.1.10.0040.00011.70
5.1.00.0040.00011.70
5.0.50.0000.00411.70
5.0.40.0000.00411.70
5.0.30.0000.00311.70
5.0.20.0000.00311.70
5.0.10.0000.00411.70
5.0.00.0000.00411.70
4.4.90.0000.00311.70
4.4.80.0000.00211.70
4.4.70.0000.00211.70
4.4.60.0000.00211.70
4.4.50.0020.00011.70
4.4.40.0000.00211.70
4.4.30.0020.00011.70
4.4.20.0000.00211.70
4.4.10.0000.00311.70
4.4.00.0000.00211.70
4.3.110.0000.00211.70
4.3.100.0020.00011.70
4.3.90.0000.00211.70
4.3.80.0000.00311.70
4.3.70.0000.00211.70
4.3.60.0020.00011.70
4.3.50.0020.00011.70
4.3.40.0020.00211.70
4.3.30.0000.00211.70
4.3.20.0000.00211.70
4.3.10.0000.00211.70
4.3.00.0000.00211.70

preferences:
13.93 ms | 406 KiB | 5 Q