in reply to Perl Hashes => Php array: existant module?

Does it have to be in PHP format, or in a format for which there's a ready made module for PHP? I'm pretty sure JSON and YAML have PHP bindings, and both are designed to store such structures simply.
  • Comment on Re: Perl Hashes => Php array: existant module?

Replies are listed 'Best First'.
Re^2: Perl Hashes => Php array: existant module?
by ssc37 (Acolyte) on Dec 09, 2009 at 20:42 UTC
    In the best way i prefere it to be in PHP format, because i need to include the result in a php page.
    But to solve my problem if i have to use a xml writer and after use a php2xml parser to put my hash in a multidimensional php array i don't care ^^
    Which way is the best? (write my page in perl?.. ^^)
    Does a php writer exists? or do you know a easy xml writer to generate a xml with a multidimensional hash?
    Best regards and thanks for you answer ikegami :)