« Return to Thread: Extension to return SimpleXML object

Extension to return SimpleXML object

by Tony Ser :: Rate this Message:

Reply to Author | View in Thread

Hi,

We are implementing our own extension and in a lot of cases we would like to
return complex data.
XML will be a natural choice except that we don't want to format the complex
data into string, return the xml string and have the PHP Script parse it
before manipulating the content. It will be very inefficient.

Wonder if there is a way to return the standard SimpleXML object and the
script will able to use it right away.
Or any other suggestion to return complex data ?



Thanks!
Tony



--
PECL development discussion Mailing List (http://pecl.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

 « Return to Thread: Extension to return SimpleXML object

LightInTheBox - Buy quality products at wholesale price!