projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
reading RFCs educates
[m6w6/ext-http]
/
php_http_url.h
diff --git
a/php_http_url.h
b/php_http_url.h
index 02535d84e3c2088cefbd2f097198b3278f7f948c..db7a32e9a34554d3fc0ddf19ea559a950c112be2 100644
(file)
--- a/
php_http_url.h
+++ b/
php_http_url.h
@@
-113,9
+113,11
@@
static inline HashTable *php_http_url_to_struct(php_url *url, zval *strct TSRMLS
default:
zval_dtor(strct);
array_init(strct);
default:
zval_dtor(strct);
array_init(strct);
+ /* no break */
case IS_ARRAY:
case IS_OBJECT:
INIT_PZVAL_ARRAY((&arr), HASH_OF(strct));
case IS_ARRAY:
case IS_OBJECT:
INIT_PZVAL_ARRAY((&arr), HASH_OF(strct));
+ break;
}
} else {
INIT_PZVAL(&arr);
}
} else {
INIT_PZVAL(&arr);
@@
-159,6
+161,7
@@
extern zend_function_entry php_http_url_method_entry[];
#define php_http_url_object_new_ex php_http_object_new_ex
PHP_METHOD(HttpUrl, __construct);
#define php_http_url_object_new_ex php_http_object_new_ex
PHP_METHOD(HttpUrl, __construct);
+PHP_METHOD(HttpUrl, mod);
PHP_METHOD(HttpUrl, toString);
extern PHP_MINIT_FUNCTION(http_url);
PHP_METHOD(HttpUrl, toString);
extern PHP_MINIT_FUNCTION(http_url);