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 @@ -1480,7 +1480,7 @@ static void php_ldap_do_search(INTERNAL_FUNCTION_PARAMETERS, int scope)
1480
1480
LDAPControl * * lserverctrls = NULL ;
1481
1481
int ldap_attrsonly = 0 , ldap_sizelimit = -1 , ldap_timelimit = -1 , ldap_deref = -1 ;
1482
1482
int old_ldap_sizelimit = -1 , old_ldap_timelimit = -1 , old_ldap_deref = -1 ;
1483
- int ret = 1 , argcount = ZEND_NUM_ARGS () ;
1483
+ int ret = 1 ;
1484
1484
1485
1485
ZEND_PARSE_PARAMETERS_START (3 , 9 )
1486
1486
Z_PARAM_ZVAL (link )
@@ -1496,7 +1496,7 @@ static void php_ldap_do_search(INTERNAL_FUNCTION_PARAMETERS, int scope)
1496
1496
ZEND_PARSE_PARAMETERS_END ();
1497
1497
1498
1498
/* Reverse -> fall through */
1499
- switch (argcount ) {
1499
+ switch (ZEND_NUM_ARGS () ) {
1500
1500
case 9 :
1501
1501
case 8 :
1502
1502
ldap_deref = deref ;
You can’t perform that action at this time.
0 commit comments