mirror of
https://github.com/php/php-src.git
synced 2025-01-22 03:34:19 +08:00
fix params parsing
This commit is contained in:
parent
30aa3cea6a
commit
5c42cde3cb
@ -2157,7 +2157,8 @@ static void dom_load_html(INTERNAL_FUNCTION_PARAMETERS, int mode) /* {{{ */
|
||||
dom_object *intern;
|
||||
dom_doc_propsptr doc_prop;
|
||||
char *source;
|
||||
int source_len, refcount, ret, options = 0;
|
||||
int source_len, refcount, ret;
|
||||
long options = 0;
|
||||
htmlParserCtxtPtr ctxt;
|
||||
|
||||
id = getThis();
|
||||
|
@ -1125,7 +1125,8 @@ PHP_FUNCTION(ibase_drop_db)
|
||||
|
||||
PHP_FUNCTION(ibase_trans)
|
||||
{
|
||||
unsigned short i, argn, link_cnt = 0, tpb_len = 0;
|
||||
unsigned short i, link_cnt = 0, tpb_len = 0;
|
||||
int argn;
|
||||
char last_tpb[TPB_MAX_SIZE];
|
||||
ibase_db_link **ib_link = NULL;
|
||||
ibase_trans *ib_trans;
|
||||
|
@ -587,7 +587,7 @@ static void php_set_opts(LDAP *ldap, int sizelimit, int timelimit, int deref, in
|
||||
*/
|
||||
static void php_ldap_do_search(INTERNAL_FUNCTION_PARAMETERS, int scope)
|
||||
{
|
||||
zval *link, *base_dn, **filter, *attrs, **attr;
|
||||
zval *link, *base_dn, **filter, *attrs = NULL, **attr;
|
||||
long attrsonly, sizelimit, timelimit, deref;
|
||||
char *ldap_base_dn = NULL, *ldap_filter = NULL, **ldap_attrs = NULL;
|
||||
ldap_linkdata *ld = NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user