3v4l.org

run code in 300+ PHP versions simultaneously
<?php $datetime = DateTime::createFromFormat('YmdHi', '201308131830'); echo $datetime->format('D');

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.10.0060.00319.87
8.3.140.0000.01416.51
8.3.130.0040.00416.35
8.3.120.0030.00518.82
8.3.110.0040.00720.94
8.3.100.0060.00324.06
8.3.90.0000.00826.77
8.3.80.0250.01023.67
8.3.70.0220.01123.73
8.3.60.0260.00925.36
8.3.50.0100.00722.46
8.3.40.0190.00423.79
8.3.30.0160.00722.46
8.3.20.0160.00624.53
8.3.10.0140.00623.95
8.3.00.0140.00722.32
8.2.260.0000.00816.87
8.2.250.0080.00016.89
8.2.240.0050.00519.17
8.2.230.0050.00322.58
8.2.220.0090.00037.54
8.2.210.0200.00526.77
8.2.200.0120.00523.86
8.2.190.0160.00423.73
8.2.180.0190.00925.04
8.2.170.0190.00623.13
8.2.160.0170.00923.28
8.2.150.0190.00923.29
8.2.140.0160.00523.34
8.2.130.0100.00923.68
8.2.120.0140.00522.55
8.2.110.0110.00722.24
8.2.100.0160.00520.63
8.2.90.0180.00620.79
8.2.80.0160.00721.04
8.2.70.0160.00626.86
8.2.60.0180.00422.55
8.2.50.0150.00622.28
8.2.40.0130.00521.64
8.2.30.0120.00522.15
8.2.20.0130.00521.55
8.2.10.0120.00620.98
8.2.00.0130.00521.05
8.1.310.0040.00418.48
8.1.300.0050.00519.46
8.1.290.0110.00430.84
8.1.280.0210.00727.56
8.1.270.0090.00924.62
8.1.260.0100.00724.56
8.1.250.0100.00624.71
8.1.240.0130.00621.83
8.1.230.0140.00521.27
8.1.220.0140.00520.70
8.1.210.0140.00520.96
8.1.200.0130.00522.18
8.1.190.0120.00622.30
8.1.180.0120.00621.75
8.1.170.0130.00521.56
8.1.160.0120.00521.36
8.1.150.0130.00521.56
8.1.140.0120.00521.20
8.1.130.0120.00520.93
8.1.120.0120.00520.51
8.1.110.0120.00520.28
8.1.100.0120.00519.99
8.1.90.0120.00519.88
8.1.80.0120.00519.90
8.1.70.0120.00519.69
8.1.60.0120.00519.53
8.1.50.0120.00619.50
8.1.40.0130.00519.58
8.1.30.0140.00519.56
8.1.20.0140.00619.45
8.1.10.0130.00619.26
8.1.00.0140.00519.37
8.0.300.0130.00520.48
8.0.290.0160.00522.04
8.0.280.0160.00421.06
8.0.270.0130.00520.93
8.0.260.0140.00520.42
8.0.250.0130.00520.26
8.0.240.0140.00519.83
8.0.230.0130.00419.54
8.0.220.0130.00519.36
8.0.210.0130.00519.11
8.0.200.0130.00419.21
8.0.190.0130.00519.17
8.0.180.0120.00519.20
8.0.170.0130.00519.04
8.0.160.0130.00519.00
8.0.150.0130.00618.79
8.0.140.0140.00518.80
8.0.130.0130.00518.59
8.0.120.0140.00418.59
8.0.110.0110.00518.53
8.0.100.0110.00518.36
8.0.90.0120.00418.26
8.0.80.0110.00618.33
8.0.70.0120.00518.32
8.0.60.0110.00518.28
8.0.50.0110.00518.26
8.0.30.0110.00618.09
8.0.20.0120.00618.08
8.0.10.0120.00618.05
8.0.00.0100.00718.20
7.4.330.0120.00419.70
7.4.320.0140.00519.37
7.4.300.0130.00418.83
7.4.290.0130.00618.78
7.4.280.0140.00518.50
7.4.270.0140.00418.48
7.4.260.0140.00518.39
7.4.250.0140.00418.08
7.4.240.0120.00518.14
7.4.230.0120.00517.99
7.4.220.0110.00517.98
7.4.210.0110.00517.95
7.4.200.0110.00517.96
7.4.190.0110.00517.97
7.4.180.0110.00518.02
7.4.160.0110.00617.74
7.4.150.0110.00617.64
7.4.140.0110.00617.55
7.4.130.0110.00717.43
7.4.120.0110.00717.43
7.4.110.0120.00617.37
7.4.100.0120.00717.34
7.4.90.0110.00717.26
7.4.80.0120.00717.21
7.4.70.0110.00717.16
7.4.60.0120.00717.14
7.4.50.0120.00717.10
7.4.40.0110.00717.06
7.4.30.0110.00717.09
7.4.20.0110.00717.05
7.4.10.0110.00816.99
7.4.00.0110.00717.06
7.3.330.0140.00418.09
7.3.320.0140.00518.05
7.3.310.0130.00417.95
7.3.300.0130.00417.84
7.3.290.0120.00517.70
7.3.280.0130.00517.45
7.3.270.0130.00617.37
7.3.260.0130.00517.35
7.3.250.0120.00617.31
7.3.240.0120.00617.27
7.3.230.0130.00617.21
7.3.220.0130.00617.15
7.3.210.0130.00617.11
7.3.200.0120.00717.05
7.3.190.0120.00717.01
7.3.180.0130.00716.98
7.3.170.0120.00717.00
7.3.160.0120.00716.96
7.3.150.0120.00716.95
7.3.140.0120.00716.91
7.3.130.0120.00716.85
7.3.120.0110.00716.79
7.3.110.0120.00716.70
7.3.100.0110.00816.61
7.3.90.0110.00716.69
7.3.80.0120.00716.55
7.3.70.0110.00716.57
7.3.60.0110.00716.51
7.3.50.0110.00716.45
7.3.40.0110.00716.54
7.3.30.0110.00716.36
7.3.20.0200.00716.79
7.3.10.0210.00716.67
7.3.00.0200.00716.61
7.2.340.0140.00717.42
7.2.330.0140.00717.33
7.2.320.0140.00717.27
7.2.310.0140.00717.20
7.2.300.0150.00617.20
7.2.290.0140.00717.17
7.2.280.0140.00717.14
7.2.270.0130.00717.10
7.2.260.0130.00817.04
7.2.250.0130.00717.00
7.2.240.0130.00816.91
7.2.230.0130.00816.89
7.2.220.0120.00816.82
7.2.210.0120.00816.78
7.2.200.0120.00816.77
7.2.190.0120.00816.71
7.2.180.0120.00816.64
7.2.170.0120.00816.66
7.2.160.0120.00716.59
7.2.150.0210.00717.05
7.2.140.0210.00817.06
7.2.130.0220.00716.95
7.2.120.0230.00816.90
7.2.110.0230.00816.85
7.2.100.0230.00716.83
7.2.90.0230.00816.82
7.2.80.0240.00716.82
7.2.70.0240.00816.83
7.2.60.0230.00816.82
7.2.50.0230.00816.83
7.2.40.0240.00816.87
7.2.30.0220.00816.86
7.2.20.0220.00816.86
7.2.10.0210.00816.86
7.2.00.0210.00816.87
7.1.330.0140.00716.41
7.1.320.0140.00716.32
7.1.310.0150.00716.26
7.1.300.0140.00716.17
7.1.290.0150.00716.16
7.1.280.0150.00716.08
7.1.270.0220.00716.03
7.1.260.0190.00715.98
7.1.250.0240.00715.76
7.1.240.0240.00715.73
7.1.230.0230.00715.72
7.1.220.0240.00715.71
7.1.210.0240.00715.71
7.1.200.0250.00715.71
7.1.190.0240.00715.74
7.1.180.0250.00715.70
7.1.170.0240.00715.69
7.1.160.0240.00715.72
7.1.150.0230.00715.71
7.1.140.0220.00715.70
7.1.130.0220.00715.70
7.1.120.0220.00715.69
7.1.110.0220.00715.70
7.1.100.0230.00715.69
7.1.90.0230.00715.68
7.1.80.0210.00715.71
7.1.70.0220.00715.64
7.1.60.0220.00716.05
7.1.50.0220.00716.06
7.1.40.0200.00716.07
7.1.30.0220.00716.04
7.1.20.0230.00716.02
7.1.10.0230.00715.68
7.1.00.0210.00715.65
7.0.330.0220.00715.52
7.0.320.0230.00715.50
7.0.310.0250.00715.44
7.0.300.0240.00715.46
7.0.290.0230.00715.46
7.0.280.0240.00715.44
7.0.270.0230.00715.45
7.0.260.0240.00615.45
7.0.250.0220.00715.54
7.0.240.0240.00715.56
7.0.230.0230.00715.55
7.0.220.0220.00715.51
7.0.210.0220.00715.52
7.0.200.0220.00715.51
7.0.190.0230.00715.52
7.0.180.0220.00715.51
7.0.170.0210.00715.54
7.0.160.0200.00715.51
7.0.150.0200.00715.51
7.0.140.0210.00715.53
7.0.130.0200.00715.53
7.0.120.0200.00715.54
7.0.110.0210.00715.54
7.0.100.0210.00715.51
7.0.90.0210.00615.48
7.0.80.0200.00715.48
7.0.70.0200.00715.51
7.0.60.0200.00715.51
7.0.50.0210.00615.51
7.0.40.0190.00715.52
7.0.30.0200.00715.52
7.0.20.0210.00715.50
7.0.10.0200.00715.53
7.0.00.0200.00715.49
5.6.400.0130.00816.00
5.6.390.0130.00816.00
5.6.380.0120.00815.76
5.6.370.0140.00816.48
5.6.360.0130.00816.49
5.6.350.0130.00816.49
5.6.340.0130.00816.50
5.6.330.0130.00816.49
5.6.320.0130.00816.49
5.6.310.0130.00916.49
5.6.300.0130.00816.46
5.6.290.0130.00816.50
5.6.280.0130.00816.49
5.6.270.0130.00816.50
5.6.260.0130.00816.50
5.6.250.0130.00816.49
5.6.240.0130.00816.49
5.6.230.0130.00816.51
5.6.220.0130.00816.53
5.6.210.0130.00816.52
5.6.200.0130.00816.57
5.6.190.0130.00816.56
5.6.180.0140.00816.54
5.6.170.0130.00816.55
5.6.160.0130.00816.55
5.6.150.0130.00816.54
5.6.140.0130.00816.56
5.6.130.0130.00816.55
5.6.120.0130.00816.54
5.6.110.0130.00816.51
5.6.100.0130.00816.48
5.6.90.0130.00816.50
5.6.80.0130.00816.44
5.6.70.0130.00816.51
5.6.60.0130.00816.49
5.6.50.0130.00816.43
5.6.40.0130.00816.47
5.6.30.0130.00816.44
5.6.20.0120.00816.44
5.6.10.0130.00816.44
5.6.00.0130.00816.44

preferences:
27.83 ms | 403 KiB | 5 Q