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

Environment:

  • Strangebuzz Snippet VM: 6.4.9
  • PHP: 8.4

Code execution output:

object(DateTime)#1645 (3) {
  ["date"]=>
  string(26) "2026-04-02 08:24:56.104088"
  ["timezone_type"]=>
  int(3)
  ["timezone"]=>
  string(12) "Europe/Paris"
}
object(DateTime)#1645 (3) {
  ["date"]=>
  string(26) "2026-04-02 08:24:56.000000"
  ["timezone_type"]=>
  int(3)
  ["timezone"]=>
  string(12) "Europe/Paris"
}
object(DateTime)#1647 (3) {
  ["date"]=>
  string(26) "2026-04-02 00:00:00.000000"
  ["timezone_type"]=>
  int(3)
  ["timezone"]=>
  string(12) "Europe/Paris"
}
OK