Output of the "Getting a PHP DateTime object for the last day of the month" PHP snippet

Environment:

  • Strangebuzz Snippet VM: 3.0.1
  • PHP: 8.1

Code execution output:

object(DateTime)#1787 (3) {
  ["date"]=>
  string(26) "2022-08-31 05:55:19.120994"
  ["timezone_type"]=>
  int(3)
  ["timezone"]=>
  string(13) "Europe/Berlin"
}
object(DateTime)#1789 (3) {
  ["date"]=>
  string(26) "2022-08-31 05:55:19.121007"
  ["timezone_type"]=>
  int(3)
  ["timezone"]=>
  string(13) "Europe/Berlin"
}