{
php_http_version_t tmp;
char separator = 0;
if (3 != sscanf(str, "HTTP/%u%c%u", &tmp.major, &separator, &tmp.minor)
&& 3 != sscanf(str, "%u%c%u", &tmp.major, &separator, &tmp.minor)) {
{
php_http_version_t tmp;
char separator = 0;
if (3 != sscanf(str, "HTTP/%u%c%u", &tmp.major, &separator, &tmp.minor)
&& 3 != sscanf(str, "%u%c%u", &tmp.major, &separator, &tmp.minor)) {