3v4l.org

run code in 300+ PHP versions simultaneously
<?php $s = "0000-00-00 00:00:00"; $d = \DateTime::createFromFormat('Y-m-d H:i:s',$s); echo $d-> format("d.m.Y H:i:s");

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.100.0030.00317.50
8.1.90.0040.00417.45
8.1.80.0040.00417.41
8.1.70.0050.00517.48
8.1.60.0100.00517.51
8.1.50.0090.00517.50
8.1.40.0120.00717.51
8.1.30.0170.00417.59
8.1.20.0160.00517.63
8.1.10.0130.00717.57
8.1.00.0140.00517.57
8.0.230.0000.00716.99
8.0.220.0040.00416.92
8.0.210.0040.00416.91
8.0.200.0020.00517.00
8.0.190.0120.00217.04
8.0.180.0100.00416.99
8.0.170.0160.00116.98
8.0.160.0110.00716.93
8.0.150.0110.00616.89
8.0.140.0120.00416.89
8.0.130.0120.00416.89
8.0.120.0120.00416.92
8.0.110.0110.00516.99
8.0.100.0090.00716.98
8.0.90.0120.00416.93
8.0.80.0120.00516.94
8.0.70.0120.00416.89
8.0.60.0090.00716.92
8.0.50.0120.00516.90
8.0.30.0110.00516.89
8.0.20.0120.00517.00
8.0.10.0130.00517.11
8.0.00.0110.00217.03
7.4.300.0120.00616.49
7.4.290.0100.00416.50
7.4.280.0150.00416.53
7.4.270.0160.00316.48
7.4.260.0130.00616.46
7.4.250.0150.00516.51
7.4.240.0110.00516.54
7.4.230.0120.00416.47
7.4.220.0100.00516.54
7.4.210.0110.00516.49
7.4.200.0140.00416.55
7.4.190.0130.00416.56
7.4.180.0080.00716.56
7.4.160.0110.00416.51
7.4.150.0150.00316.55
7.4.140.0090.00716.39
7.4.130.0100.00616.44
7.4.120.0080.00716.46
7.4.110.0120.00516.46
7.4.100.0100.00616.39
7.4.90.0100.00616.40
7.4.80.0110.00516.40
7.4.70.0080.00616.31
7.4.60.0100.00516.48
7.4.50.0110.00616.35
7.4.40.0100.00516.28
7.4.30.0090.00416.30
7.4.20.0060.00816.34
7.4.10.0100.00616.36
7.4.00.0110.00416.40
7.3.330.0100.00616.28
7.3.320.0110.00616.32
7.3.310.0130.00416.14
7.3.300.0120.00616.28
7.3.290.0100.00716.27
7.3.280.0140.00416.17
7.3.270.0100.00816.26
7.3.260.0120.00516.12
7.3.250.0140.00416.28
7.3.240.0080.01016.22
7.3.230.0110.00616.33
7.3.220.0130.00316.19
7.3.210.0130.00416.23
7.3.200.0110.00616.27
7.3.190.0120.00516.25
7.3.180.0160.00216.21
7.3.170.0080.00816.25
7.3.160.0120.00516.28
7.3.150.0120.00516.21
7.3.140.0090.00716.28
7.3.130.0110.00516.17
7.3.120.0130.00516.11
7.3.110.0130.00416.01
7.3.100.0140.00416.02
7.3.90.0130.00416.48
7.3.80.0140.00416.07
7.3.70.0110.00716.11
7.3.60.0130.00416.38
7.3.50.0080.00916.32
7.3.40.0080.00916.29
7.3.30.0090.00816.32
7.3.20.0160.00318.24
7.3.10.0120.00617.92
7.3.00.0150.00518.15
7.2.340.0110.00716.55
7.2.330.0130.00516.32
7.2.320.0120.00516.49
7.2.310.0150.00416.60
7.2.300.0120.00616.54
7.2.290.0130.00516.40
7.2.280.0120.00516.52
7.2.270.0130.00516.40
7.2.260.0120.00716.29
7.2.250.0110.00816.54
7.2.240.0130.00516.42
7.2.230.0130.00416.44
7.2.220.0130.00516.45
7.2.210.0100.00716.45
7.2.200.0170.00216.68
7.2.190.0130.00516.56
7.2.180.0130.00416.47
7.2.170.0100.00816.63
7.2.160.0110.00616.57
7.2.150.0160.00218.43
7.2.140.0160.00118.45
7.2.130.0120.00518.59
7.2.120.0100.00718.59
7.2.110.0150.00318.62
7.2.100.0100.00618.52
7.2.90.0120.00518.48
7.2.80.0110.00718.62
7.2.70.0120.00618.43
7.2.60.0120.00618.46
7.2.50.0090.00818.54
7.2.40.0130.00518.47
7.2.30.0110.00618.52
7.2.20.0140.00318.50
7.2.10.0150.00418.69
7.2.00.0080.00818.60
7.1.330.0130.00317.33
7.1.320.0110.00517.34
7.1.310.0120.00317.45
7.1.300.0100.00517.48
7.1.290.0100.00617.44
7.1.280.0140.00317.37
7.1.270.0090.00617.34
7.1.260.0080.00917.37
7.1.250.0110.00617.23
7.1.240.0090.00717.34
7.1.230.0120.00617.33
7.1.220.0140.00117.34
7.1.210.0130.00317.28
7.1.200.0120.00417.26
7.1.190.0100.00617.32
7.1.180.0130.00417.35
7.1.170.0100.00617.24
7.1.160.0130.00317.28
7.1.150.0140.00117.30
7.1.140.0110.00617.17
7.1.130.0140.00117.41
7.1.120.0120.00517.34
7.1.110.0110.00517.11
7.1.100.0130.00417.09
7.1.90.0110.00517.31
7.1.80.0150.00117.36
7.1.70.0130.00417.11
7.1.60.0130.00317.31
7.1.50.0120.00517.22
7.1.40.0110.00517.35
7.1.30.0120.00417.34
7.1.20.0130.00217.16
7.1.10.0080.00817.19
7.1.00.0120.00417.12
7.0.330.0060.00917.08
7.0.320.0130.00316.91
7.0.310.0110.00417.06
7.0.300.0120.00416.84
7.0.290.0110.00616.99
7.0.280.0140.00216.94
7.0.270.0150.00117.03
7.0.260.0090.00617.03
7.0.250.0090.00717.39
7.0.240.0130.00317.23
7.0.230.0130.00417.31
7.0.220.0140.00217.26
7.0.210.0100.00517.20
7.0.200.0090.00617.08
7.0.190.0100.00517.14
7.0.180.0150.00117.16
7.0.170.0110.00517.38
7.0.160.0120.00417.17
7.0.150.0110.00617.19
7.0.140.0150.00117.02
7.0.130.0060.00917.30
7.0.120.0080.00917.19
7.0.110.0130.00317.25
7.0.100.0110.00517.13
7.0.90.0120.00416.92
7.0.80.0150.00117.04
7.0.70.0110.00517.09
7.0.60.0130.00317.16
7.0.50.0130.00417.14
7.0.40.0120.00417.27
7.0.30.0090.00717.12
7.0.20.0140.00117.21
7.0.10.0160.00217.04
7.0.00.0150.00217.07
5.6.400.0110.00715.81
5.6.390.0090.00815.90
5.6.380.0060.01115.92
5.6.370.0150.00116.02
5.6.360.0140.00216.00
5.6.350.0110.00315.87
5.6.340.0080.00915.86
5.6.330.0080.00715.91
5.6.320.0100.00515.85
5.6.310.0100.00615.86
5.6.300.0070.01015.80
5.6.290.0100.00515.99
5.6.280.0110.00515.84
5.6.270.0150.00115.89
5.6.260.0090.00615.89
5.6.250.0090.00715.79
5.6.240.0120.00415.97
5.6.230.0100.00416.01
5.6.220.0130.00316.05
5.6.210.0080.00716.04
5.6.200.0070.00916.10
5.6.190.0110.00416.01
5.6.180.0110.00516.01
5.6.170.0090.00616.07
5.6.160.0110.00516.08
5.6.150.0110.00516.12
5.6.140.0150.00016.10
5.6.130.0080.00816.17
5.6.120.0120.00516.14
5.6.110.0140.00216.07
5.6.100.0110.00416.06
5.6.90.0120.00415.89
5.6.80.0120.00315.89
5.6.70.0100.00516.03
5.6.60.0090.00615.96
5.6.50.0120.00315.76
5.6.40.0140.00115.96
5.6.30.0100.00515.90
5.6.20.0060.00815.96
5.6.10.0090.00715.92
5.6.00.0110.00315.94
5.5.380.0070.00815.98
5.5.370.0100.00416.14
5.5.360.0100.00615.88
5.5.350.0070.00815.87
5.5.340.0090.00716.00
5.5.330.0150.00116.01
5.5.320.0110.00415.82
5.5.310.0090.00715.68
5.5.300.0150.00015.86
5.5.290.0070.00715.89
5.5.280.0120.00215.86
5.5.270.0120.00215.93
5.5.260.0100.00516.04
5.5.250.0100.00516.01
5.5.240.0060.00815.88
5.5.230.0090.00615.86
5.5.220.0110.00315.75
5.5.210.0120.00115.89
5.5.200.0120.00215.85
5.5.190.0100.00415.75
5.5.180.0070.00715.70
5.5.170.0090.00415.79
5.5.160.0100.00315.81
5.5.150.0070.00615.81
5.5.140.0080.00615.73
5.5.130.0110.00415.52
5.5.120.0000.01415.87
5.5.110.0090.00615.71
5.5.100.0120.00316.06
5.5.90.0130.00015.88
5.5.80.0090.00615.89
5.5.70.0090.00515.97
5.5.60.0080.00615.88
5.5.50.0080.00615.83
5.5.40.0090.00616.05
5.5.30.0090.00515.80
5.5.20.0100.00415.74
5.5.10.0090.00515.82
5.5.00.0080.00615.94
5.4.450.0080.00312.62
5.4.440.0090.00312.55
5.4.430.0080.00412.60
5.4.420.0080.00212.59
5.4.410.0040.00612.67
5.4.400.0060.00512.63
5.4.390.0060.00512.60
5.4.380.0100.00212.53
5.4.370.0060.00512.46
5.4.360.0080.00312.44
5.4.350.0060.00612.52
5.4.340.0100.00112.61
5.4.330.0100.00212.46
5.4.320.0110.00212.66
5.4.310.0070.00512.53
5.4.300.0080.00412.51
5.4.290.0050.00612.46
5.4.280.0090.00212.66
5.4.270.0120.00112.63
5.4.260.0070.00512.54
5.4.250.0110.00212.40
5.4.240.0070.00412.55
5.4.230.0110.00012.42
5.4.220.0070.00512.34
5.4.210.0120.00012.42
5.4.200.0100.00212.33
5.4.190.0030.00812.29
5.4.180.0100.00112.45
5.4.170.0090.00412.41
5.4.160.0080.00412.32
5.4.150.0100.00112.41
5.4.140.0100.00112.47
5.4.130.0050.00512.51
5.4.120.0090.00212.54
5.4.110.0080.00412.60
5.4.100.0080.00312.58
5.4.90.0110.00012.50
5.4.80.0080.00212.64
5.4.70.0090.00412.52
5.4.60.0080.00312.65
5.4.50.0090.00212.55
5.4.40.0080.00312.65
5.4.30.0070.00412.51
5.4.20.0090.00112.67
5.4.10.0000.01012.58
5.4.00.0060.00512.40
5.3.290.0080.00313.29
5.3.280.0060.00413.25
5.3.270.0110.00013.05
5.3.260.0080.00413.24
5.3.250.0080.00413.16
5.3.240.0120.00013.04
5.3.230.0070.00513.07
5.3.220.0080.00312.93
5.3.210.0070.00412.99
5.3.200.0100.00212.93
5.3.190.0040.00712.85
5.3.180.0090.00313.11
5.3.170.0060.00613.19
5.3.160.0110.00013.03
5.3.150.0060.00513.34
5.3.140.0100.00212.97
5.3.130.0050.00513.30
5.3.120.0070.00512.99
5.3.110.0040.00713.10
5.3.100.0090.00313.17
5.3.90.0090.00313.08
5.3.80.0060.00612.86
5.3.70.0090.00212.92
5.3.60.0060.00513.21
5.3.50.0050.00612.97
5.3.40.0050.00712.96
5.3.30.0030.00813.02
5.3.20.0110.00013.02
5.3.10.0060.00412.65
5.3.00.0070.00412.85
5.2.170.0050.00512.02
5.2.160.0100.00011.73
5.2.150.0050.00311.91
5.2.140.0040.00411.94
5.2.130.0030.00711.74
5.2.120.0050.00311.75
5.2.110.0050.00411.74
5.2.100.0090.00011.76
5.2.90.0020.00711.71
5.2.80.0040.00511.84
5.2.70.0030.00811.72
5.2.60.0030.00511.74
5.2.50.0010.00811.89
5.2.40.0070.00111.99
5.2.30.0060.00311.83
5.2.20.0070.00211.66
5.2.10.0040.00511.55
5.2.00.0060.00211.48
5.1.60.0050.00310.81
5.1.50.0040.00410.94
5.1.40.0060.00310.96
5.1.30.0040.00410.91
5.1.20.0070.00110.89
5.1.10.0010.00610.85
5.1.00.0080.00010.88
5.0.50.0020.00510.45
5.0.40.0060.00110.45
5.0.30.0050.00110.45
5.0.20.0070.00010.45
5.0.10.0050.00210.45
5.0.00.0020.00510.45
4.4.90.0020.00210.45
4.4.80.0020.00210.45
4.4.70.0040.00010.45
4.4.60.0020.00210.45
4.4.50.0030.00110.45
4.4.40.0020.00210.45
4.4.30.0020.00210.45
4.4.20.0020.00210.45
4.4.10.0030.00110.45
4.4.00.0000.00410.45
4.3.110.0020.00210.45
4.3.100.0010.00210.45
4.3.90.0030.00110.45
4.3.80.0040.00010.45
4.3.70.0020.00210.45
4.3.60.0020.00210.45
4.3.50.0020.00210.45
4.3.40.0040.00010.45
4.3.30.0010.00210.45
4.3.20.0000.00310.45
4.3.10.0010.00210.45
4.3.00.0020.00210.45

preferences:
51.63 ms | 406 KiB | 5 Q