NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist · #1950 most downloaded on Packagist
Highly customizable alternative to var_export for PHP code generation
Last release 4 years ago
no release in 18 months
Release timing varies
gaps range from 1 weeks to 2.4 years
Most releases are documented
notes for 14 of 19 stable releases
Nothing withdrawn
no release was ever pulled
13 years old
19 releases · first in 2013
Added tests to ensure PHP 8.2 compatibility
export type object conversion have more consistent index orderMigrated to Github actions for CI
One column per quarter.
Added string.classes option, which allows to define an array of classes or namespaces to encode using the ::class format, when encountered as strings
string.classes option, which allows to define an array of classes or::class format, when encountered as stringsstring.imports options, which allows to define the used imports to write::class format strings using shorter imported notationAdded string.utf8 option which causes the string encoder to escape all valid multibyte UTF-8 characters using the PHP7 unicode code point syntax.
string.utf8 option which causes the string encoder to escape allstring.binary option which causes the string encoder to encode allbase64_encode().integer.type option that accepts values binary, octal, decimalhexadecimal which can be used to change the output syntax of integers.hex.capitalize option that causes all hexadecimal character infloat.export option that forces float encoder to use var_exportIncrease the minimum PHP version requirement to 5.6
Ensure the tests run on both HHVM and PHP7
The GMP encoder no longer tries to encode classes that extend the GMP class
Fixed object encoder not throwing an exception on some incorrect object.format values.
Encoder options with null default value will now be recognized
null default value will now be recognized(int) cast in front of integers, ifPHP_INT_MAX * -1 - 1.float.integers is set to true, the float encoder will now only encode"all" to restore the previous behavior.serialize_precision when the option precisionfalsearray.align will now respect array.omit and array.inline settings if all the keys in the array can be omitted.
array.align will now respect array.omit and array.inline settings ifImprovements on code quality, documentation and tests
Encoding is now separated into external encoding classes
Added new object conversion flags OBJECT_VARS and OBJECT_SET_STATE.
GMP Integer resources are now encoded using 'gmp_init()'
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →