File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1485,7 +1485,7 @@ static void php_ldap_do_search(INTERNAL_FUNCTION_PARAMETERS, int scope)
1485
1485
LDAPControl * * lserverctrls = NULL ;
1486
1486
int ldap_attrsonly = 0 , ldap_sizelimit = -1 , ldap_timelimit = -1 , ldap_deref = -1 ;
1487
1487
int old_ldap_sizelimit = -1 , old_ldap_timelimit = -1 , old_ldap_deref = -1 ;
1488
- int ret = 1 , argcount = ZEND_NUM_ARGS () ;
1488
+ int ret = 1 ;
1489
1489
1490
1490
ZEND_PARSE_PARAMETERS_START (3 , 9 )
1491
1491
Z_PARAM_ZVAL (link )
@@ -1501,7 +1501,7 @@ static void php_ldap_do_search(INTERNAL_FUNCTION_PARAMETERS, int scope)
1501
1501
ZEND_PARSE_PARAMETERS_END ();
1502
1502
1503
1503
/* Reverse -> fall through */
1504
- switch (argcount ) {
1504
+ switch (ZEND_NUM_ARGS () ) {
1505
1505
case 9 :
1506
1506
case 8 :
1507
1507
ldap_deref = deref ;
You can’t perform that action at this time.
0 commit comments