Update SimpleXMLReader.php

fix some bug