Output of the "Getting a PHP DateTime object for the last day of the month" PHP snippet
Environment:
- Strangebuzz Snippet VM: 6.4.9
- PHP: 8.4
Code execution output:
object(DateTime)#1690 (3) {
["date"]=>
string(26) "2025-12-31 11:41:24.631957"
["timezone_type"]=>
int(3)
["timezone"]=>
string(12) "Europe/Paris"
}
object(DateTime)#1692 (3) {
["date"]=>
string(26) "2025-12-31 11:41:24.631968"
["timezone_type"]=>
int(3)
["timezone"]=>
string(12) "Europe/Paris"
}