2023-06-30 957次浏览

A minor update was made to yiisoft/var-dumper package.

In this version:

  • Removed leading spaces in closure dumps.
  • Added individual dumps for DateTime and DateTimeImmutable objects.

It seems, we forgot to post news about the package since 1.2.0 so here's the summary of what was added since then:

  • asJson() method that provide exporting value as JSON string.
  • asPrimitives() method that exports a variable like destructed JSON.
  • The package now adds a variable type to output when it can't be exported more.
  • And edge-case was handled when property names are integers.