I\'ve seen alot of coders implement SimpleXML_load_string() instead of the SimpleXMLElement() class. Are there any benefits to using the former over th
simplexml_load_string can return a different object:
class_name
You may use this optional parameter so that
simplexml_load_string() will return an
object of the specified class. That
class should extend the
SimpleXMLElement class.