spl requires simplexml in php 5.2