Package Information |
Summary |
A compact, more readable alternative to var_export. |
Maintainers |
Tyson Andre (lead)
[details]
|
License |
BSD-3-Clause |
Description |
var_representation is a compact alternative to var_export that properly escapes control characters |
Homepage |
https://github.com/TysonAndre/var_representation
|
Release notes
Version 0.1.1
(stable)
|
* Optimize escaping single quoted strings * Add a new flag VAR_REPRESENTATION_UNESCAPED to always encode strings as single quoted strings without escaping control characters. This may be useful when the result of var_representation is escaped again before being rendered (e.g. json encoding), or when a short representation is desired. |