object(DateTimeImmutable)#2 (3) {
["date"]=>
string(26) "2015-09-24 00:00:00.000000"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
Fatal error: Uncaught TypeError: DateTimeImmutable::createFromMutable(): Argument #1 ($object) must be of type DateTime, DateTimeImmutable given in /in/3IrR6:4
Stack trace:
#0 /in/3IrR6(4): DateTimeImmutable::createFromMutable(Object(DateTimeImmutable))
#1 {main}
thrown in /in/3IrR6 on line 4
Process exited with code 255.
Output for 8.0.13
object(DateTimeImmutable)#2 (3) {
["date"]=>
string(26) "2015-09-24 00:00:00.000000"
["timezone_type"]=>
int(3)
["timezone"]=>
string(3) "UTC"
}
Fatal error: Uncaught TypeError: DateTimeImmutable::createFromMutable(): Argument #1 ($object) must be of type DateTime, DateTimeImmutable given in /in/3IrR6:4
Stack trace:
#0 /in/3IrR6(4): DateTimeImmutable::createFromMutable(Object(DateTimeImmutable))
#1 {main}
thrown in /in/3IrR6 on line 4
Process exited with code 255.
object(DateTimeImmutable)#2 (3) {
["date"]=>
string(26) "2015-09-24 00:00:00.000000"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
Warning: DateTimeImmutable::createFromMutable() expects parameter 1 to be DateTime, object given in /in/3IrR6 on line 4
NULL
Output for 7.3.32 - 7.3.33
object(DateTimeImmutable)#2 (3) {
["date"]=>
string(26) "2015-09-24 00:00:00.000000"
["timezone_type"]=>
int(3)
["timezone"]=>
string(3) "UTC"
}
Warning: DateTimeImmutable::createFromMutable() expects parameter 1 to be DateTime, object given in /in/3IrR6 on line 4
NULL
Output for 5.5.0 - 5.5.38
Fatal error: Call to undefined method DateTimeImmutable::createFromMutable() in /in/3IrR6 on line 3
Process exited with code 255.
Output for 5.4.0 - 5.4.45
Fatal error: Class 'DateTimeImmutable' not found in /in/3IrR6 on line 3
Process exited with code 255.