Environnement :
- Strangebuzz Snippet VM : 6.4.9
- PHP : 8.4
Sortie du code exécuté :
object(DateTime)#1936 (3) {
["date"]=>
string(26) "2024-02-27 08:11:22.000000"
["timezone_type"]=>
int(3)
["timezone"]=>
string(12) "Europe/Paris"
}
string(25) "2024-02-27T08:11:22+01:00"
object(DateTime)#1938 (3) {
["date"]=>
string(26) "2024-02-27 07:11:22.000000"
["timezone_type"]=>
int(1)
["timezone"]=>
string(6) "+00:00"
}
string(25) "2024-02-27T07:11:22+00:00"
object(DateTimeImmutable)#1937 (3) {
["date"]=>
string(26) "2024-02-27 07:11:22.000000"
["timezone_type"]=>
int(1)
["timezone"]=>
string(6) "+00:00"
}
string(25) "2024-02-27T07:11:22+00:00"
object(Carbon\Carbon)#2005 (19) {
["endOfTime":protected]=>
bool(false)
["startOfTime":protected]=>
bool(false)
["constructedObjectId":protected]=>
string(32) "00000000000007d50000000000000000"
["localMonthsOverflow":protected]=>
NULL
["localYearsOverflow":protected]=>
NULL
["localStrictModeEnabled":protected]=>
NULL
["localHumanDiffOptions":protected]=>
NULL
["localToStringFormat":protected]=>
NULL
["localSerializer":protected]=>
NULL
["localMacros":protected]=>
NULL
["localGenericMacros":protected]=>
NULL
["localFormatFunction":protected]=>
NULL
["localTranslator":protected]=>
NULL
["dumpProperties":protected]=>
array(3) {
[0]=>
string(4) "date"
[1]=>
string(13) "timezone_type"
[2]=>
string(8) "timezone"
}
["dumpLocale":protected]=>
NULL
["dumpDateProperties":protected]=>
NULL
["date"]=>
string(26) "2024-02-27 08:11:22.000000"
["timezone_type"]=>
int(3)
["timezone"]=>
string(12) "Europe/Paris"
}
string(25) "2024-02-27T08:11:22+01:00"