Output of the "Removing microseconds from a PHP DateTime object" PHP snippet

Environment:

  • Strangebuzz Snippet VM: 2.8.0
  • PHP: 7.4

Code execution output:

object(DateTime)#1872 (3) {
  ["date"]=>
  string(26) "2021-10-21 01:33:47.404808"
  ["timezone_type"]=>
  int(3)
  ["timezone"]=>
  string(13) "Europe/Berlin"
}
object(DateTime)#1872 (3) {
  ["date"]=>
  string(26) "2021-10-21 01:33:47.000000"
  ["timezone_type"]=>
  int(3)
  ["timezone"]=>
  string(13) "Europe/Berlin"
}
object(DateTime)#1871 (3) {
  ["date"]=>
  string(26) "2021-10-21 00:00:00.000000"
  ["timezone_type"]=>
  int(3)
  ["timezone"]=>
  string(13) "Europe/Berlin"
}
OK