Data::Format::Pretty::PHP - Pretty-print data structure as PHP code
use Data::Format::Pretty::PHP qw(format_pretty); print format_pretty($data);
Some example output:
array( "a" => 1, "b" => 2 )
This module uses Data::Dump::PHP to encode data as PHP code.
Return formatted data structure. Currently there are no known formatting options.
Steven Haryanto <email@example.com>
This software is copyright (c) 2012 by Steven Haryanto.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.