NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist
Packagist, #2105 most downloaded on Packagist
Polyfill for var_representation: convert a variable to a string in a way that fixes the shortcomings of var_export
Latest stable
0.1.3
Last release 4 years ago
no release in 18 months
Release timing varies
gaps range from 3 weeks to 12 months
Nearly every release is documented
notes for 6 of 6 stable releases
Nothing withdrawn
no release was ever pulled
5 years old
6 releases · first in 2021
Drag across the ruler to compare, or tap a release to open it.
Add "provides": "ext-var_representation" to composer.json
"provides": "ext-var_representation" to composer.jsonRemove duplicated \ prefix from object encoding in php 8.2+ - the output of var_export changed.
\ prefix from object encoding in php 8.2+ - the output of var_export changed.Be consistent with the native PECL, don't escape \x80-\xff
Be consistent with the native PECL, don't escape \x80-\xff
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Fix whitespace and indentation inconsistencies with the native var_representation PECL. Use 2 spaces for indentation instead of 4. Consistently add a
Fix whitespace and indentation inconsistencies with the native var_representation PECL.
Use 2 spaces for indentation instead of 4. Consistently add a space for (object) [.
Support the new VAR_REPRESENTATION_UNESCAPED flag.
Add static methods to VarRepresentation\Encoder to dump raw strings
Add static methods to VarRepresentation\Encoder to dump raw strings
Add support for var_representation() with and without VAR_REPRESENTATION_SINGLE_LINE bit flag
One column per quarter.