Login  |  Packages  |  Support  |  Bugs
Top Level :: PHP :: var_representation :: 0.1.1

var_representation 0.1.1

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
* 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.

[ Latest Tarball ] [ Changelog ] [ View Statistics ]
[ Browse Source ] [ Package Bugs ]
[ Report new bug ]

Dependencies for release 0.1.1
Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 21 17:05:02 2024 UTC
Bandwidth and hardware provided by: pair Networks