Releases: brick/varexporter
Releases · brick/varexporter
0.3.0
Minimum PHP version is now 7.2
. No breaking changes.
0.2.1
✨ New option: VarExporter::INLINE_NUMERIC_SCALAR_ARRAY
(#3)
Formats numeric arrays containing only scalar values on a single line.
0.2.0
✨ New feature
- Experimental support for closures 🎉
💥 Minor BC break
export()
does not throw an exception anymore when encountering a Closure
.
To get the old behaviour back, use the NO_CLOSURES
option.
0.1.2
🐛 Bug fixes
- Static properties in custom classes were wrongly included—
unset()
—in the output
✨ Improvements
- Circular references are now detected, and throw an
ExportException
instead of erroring.
0.1.1
🐛 Bug fixes
- Single-letter properties were wrongly exported using
->{'x'}
notation.
✨ Improvements