PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
I'm not sure if my problem is with SimpleXML (doubtful) or something goofy with the echo function but the following code snippet produces unusual results:
Hmm... that fixes it but it's a shame that doesn't work properly straight away. Can I assume that's a known bug? Hopefully they'll have it fixed in future releases of PHP.