<?php
$d = DateTime::createFromFormat('m-d-Y', '0fds7');
$d2 = DateTime::createFromFormat('m-d-Y', '1-17-2017');
var_dump($d, $d2);
- Output for 5.6.28, 7.0.20, 7.1.0 - 7.1.20, 7.2.0 - 7.2.33, 7.3.16 - 7.3.31, 7.4.0 - 7.4.33, 8.0.0 - 8.0.12, 8.0.14 - 8.0.30, 8.1.0 - 8.1.28, 8.2.0 - 8.2.18, 8.3.0 - 8.3.6
- bool(false)
object(DateTime)#1 (3) {
["date"]=>
string(26) "2017-01-17 00:42:40.000000"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 7.3.32 - 7.3.33, 8.0.13
- bool(false)
object(DateTime)#1 (3) {
["date"]=>
string(26) "2017-01-17 23:42:40.000000"
["timezone_type"]=>
int(3)
["timezone"]=>
string(3) "UTC"
}
- Output for 7.0.6
- bool(false)
object(DateTime)#1 (3) {
["date"]=>
string(26) "2017-01-17 13:33:24.000000"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 7.0.5
- bool(false)
object(DateTime)#1 (3) {
["date"]=>
string(26) "2017-01-17 09:33:27.000000"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 7.0.4
- bool(false)
object(DateTime)#1 (3) {
["date"]=>
string(26) "2017-01-17 21:40:05.000000"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 7.0.3
- bool(false)
object(DateTime)#1 (3) {
["date"]=>
string(26) "2017-01-17 23:05:42.000000"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 7.0.2
- bool(false)
object(DateTime)#1 (3) {
["date"]=>
string(26) "2017-01-17 05:18:55.000000"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 7.0.1
- bool(false)
object(DateTime)#1 (3) {
["date"]=>
string(26) "2017-01-17 08:24:44.000000"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 7.0.0
- bool(false)
object(DateTime)#1 (3) {
["date"]=>
string(26) "2017-01-17 10:18:03.000000"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 5.6.21
- bool(false)
object(DateTime)#1 (3) {
["date"]=>
string(26) "2017-01-17 16:26:58.000000"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 5.6.20
- bool(false)
object(DateTime)#1 (3) {
["date"]=>
string(26) "2017-01-17 08:35:31.000000"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 5.6.19
- bool(false)
object(DateTime)#1 (3) {
["date"]=>
string(26) "2017-01-17 05:48:53.000000"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 5.6.18
- bool(false)
object(DateTime)#1 (3) {
["date"]=>
string(26) "2017-01-17 14:46:28.000000"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 5.6.17
- bool(false)
object(DateTime)#1 (3) {
["date"]=>
string(26) "2017-01-17 02:19:01.000000"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 5.6.16
- bool(false)
object(DateTime)#1 (3) {
["date"]=>
string(26) "2017-01-17 11:07:35.000000"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 5.6.15
- bool(false)
object(DateTime)#1 (3) {
["date"]=>
string(26) "2017-01-17 11:56:33.000000"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 5.6.14
- bool(false)
object(DateTime)#1 (3) {
["date"]=>
string(26) "2017-01-17 17:39:24.000000"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 5.6.13
- bool(false)
object(DateTime)#1 (3) {
["date"]=>
string(26) "2017-01-17 18:18:27.000000"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 5.6.12
- bool(false)
object(DateTime)#1 (3) {
["date"]=>
string(26) "2017-01-17 08:47:43.000000"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 5.6.11
- bool(false)
object(DateTime)#1 (3) {
["date"]=>
string(26) "2017-01-17 15:13:53.000000"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 5.6.10
- bool(false)
object(DateTime)#1 (3) {
["date"]=>
string(26) "2017-01-17 17:19:33.000000"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 5.6.9
- bool(false)
object(DateTime)#1 (3) {
["date"]=>
string(26) "2017-01-17 22:45:54.000000"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 5.6.8
- bool(false)
object(DateTime)#1 (3) {
["date"]=>
string(26) "2017-01-17 07:15:26.000000"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 5.5.35
- bool(false)
object(DateTime)#1 (3) {
["date"]=>
string(26) "2017-01-17 02:28:11.000000"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 5.5.34
- bool(false)
object(DateTime)#1 (3) {
["date"]=>
string(26) "2017-01-17 10:49:25.000000"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 5.5.33
- bool(false)
object(DateTime)#1 (3) {
["date"]=>
string(26) "2017-01-17 08:47:56.000000"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 5.5.32
- bool(false)
object(DateTime)#1 (3) {
["date"]=>
string(26) "2017-01-17 18:43:25.000000"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 5.5.31
- bool(false)
object(DateTime)#1 (3) {
["date"]=>
string(26) "2017-01-17 05:28:55.000000"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 5.5.30
- bool(false)
object(DateTime)#1 (3) {
["date"]=>
string(26) "2017-01-17 13:48:41.000000"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 5.5.29
- bool(false)
object(DateTime)#1 (3) {
["date"]=>
string(26) "2017-01-17 08:36:13.000000"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 5.5.28
- bool(false)
object(DateTime)#1 (3) {
["date"]=>
string(26) "2017-01-17 12:06:59.000000"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 5.5.27
- bool(false)
object(DateTime)#1 (3) {
["date"]=>
string(26) "2017-01-17 13:44:32.000000"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 5.5.26
- bool(false)
object(DateTime)#1 (3) {
["date"]=>
string(26) "2017-01-17 20:00:30.000000"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 5.5.25
- bool(false)
object(DateTime)#1 (3) {
["date"]=>
string(26) "2017-01-17 03:26:36.000000"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
- Output for 5.5.24
- bool(false)
object(DateTime)#1 (3) {
["date"]=>
string(26) "2017-01-17 09:49:32.000000"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
preferences:
170.53 ms | 401 KiB | 184 Q