HHVM does not fully support XML Reader yet
Using mysqli_real_escape_string since its deprecated in 5.5