XML string to PHP array

Ajouté le 14 août, 2009

One common need when working in PHP is a way to convert an XML document into a serializable array. If you ever tried to serialize() and then unserialize() a SimpleXML or DOMDocument object, you know what I’m talking about. Assume the following XML snippet:        Brian     Chris     Meg    There’s a quick and dirty ...

Lire la suite ]

Page créée automatiquement à partir
de mes favoris sur Google reader.