simplexml_load_string always return a SimpleXMLElement

Skip to first unread message


Jul 5, 2011, 3:11:02 AM7/5/11
to HipHop for PHP Dev
As described on,
the second parameter indicates that, provided a clas name derived from
SimpleXMLElement class, this function returns an instance of the
specified className.
As I've seen on the code, this checks for a valid class name provided,
but does nothing with the provided class and returns always a
SimpleXMLElement instance.

If you can provide some guidance, maybe I can try to patch the code...
Sure I'l try it, but I don't know how to instantiate the provided
class Name.

Please, help would be really apreciated.

Best regards.
Reply all
Reply to author
0 new messages