Making Prismic.php PHP5.3-compliant