| modification, are permitted provided that the conditions mentioned |
| in the accompanying LICENSE file are met. |
+--------------------------------------------------------------------+
- | Copyright (c) 2004-2006, Michael Wallner <mike@php.net> |
+ | Copyright (c) 2004-2007, Michael Wallner <mike@php.net> |
+--------------------------------------------------------------------+
*/
#define HTTP_URL_JOIN_QUERY 0x002
#define HTTP_URL_STRIP_USER 0x004
#define HTTP_URL_STRIP_PASS 0x008
-#define HTTP_URL_STRIP_AUTH 0x010
+#define HTTP_URL_STRIP_AUTH (HTTP_URL_STRIP_USER|HTTP_URL_STRIP_PASS)
#define HTTP_URL_STRIP_PORT 0x020
#define HTTP_URL_STRIP_PATH 0x040
#define HTTP_URL_STRIP_QUERY 0x080
zval arr;
if (strct) {
- switch (Z_TYPE_P(strct))
- {
+ switch (Z_TYPE_P(strct)) {
default:
zval_dtor(strct);
array_init(strct);