php_syntax parser for python
This is simple and small library written for various data structures contained in php sources. Originnaly developed for reading MediaWiki LanguageXX.php, library was extended by simple serializer, and API was changed in same manner as in pickle and json serializers.
loads to load php data structures from
file or string. Structure always loaded as dict with defined variables as
dumps to save data back.
We support following PHP operators:
Both scalars and key-value pairs supported in arrays.
Values can be integer, string or
Floats are not supported at this moment.