I'm using simplexml_load_string(file_get_contents($test)) to pull a REST. Now I'm stuck, I'm using var_dump to try and see if it's at least working but it keeps returning object(SimpleXMLElement)#1 (0) {
When I access the URL directly the xml is there, and I ran it against a validator and it came up ok. Also I wrote a very basic XML file uploaded that to server and ran a simple php script(using load_file instead of load_string though) but it returns object(SimpleXMLElement)#1 (4) { example data }
I can't figure out what I'm doing wrong.