| modification, are permitted provided that the conditions mentioned |
| in the accompanying LICENSE file are met. |
+--------------------------------------------------------------------+
- | Copyright (c) 2004-2007, Michael Wallner <mike@php.net> |
+ | Copyright (c) 2004-2010, Michael Wallner <mike@php.net> |
+--------------------------------------------------------------------+
*/
default:
#endif
case 80:
+ case 0:
url->scheme = estrndup("http", lenof("http"));
break;
return FAILURE;
}
} else {
- zval *val = zval_copy(IS_STRING, *data);
+ zval *val = http_zsep(IS_STRING, *data);
if (PHPSTR_LEN(str)) {
phpstr_append(str, arg_sep, arg_sep_len);
efree(encoded_val);
}
- zval_free(&val);
+ zval_ptr_dtor(&val);
}
phpstr_dtor(&new_prefix);
}