Reinstated PHP version check before checking for E_DEPRECATED in DocumentParser::phpError().