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)
14851485 LDAPControl * * lserverctrls = NULL ;
14861486 int ldap_attrsonly = 0 , ldap_sizelimit = -1 , ldap_timelimit = -1 , ldap_deref = -1 ;
14871487 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 ;
14891489
14901490 ZEND_PARSE_PARAMETERS_START (3 , 9 )
14911491 Z_PARAM_ZVAL (link )
@@ -1501,7 +1501,7 @@ static void php_ldap_do_search(INTERNAL_FUNCTION_PARAMETERS, int scope)
15011501 ZEND_PARSE_PARAMETERS_END ();
15021502
15031503 /* Reverse -> fall through */
1504- switch (argcount ) {
1504+ switch (ZEND_NUM_ARGS () ) {
15051505 case 9 :
15061506 case 8 :
15071507 ldap_deref = deref ;
You can’t perform that action at this time.
0 commit comments