the ldap_connect man page states that calling ldap_connect with no
arguements should return the link identifier to the open ldap
connection. in the following code i find that the script stops before
writing the second printf statement:
$LDAP_CONNECTION = ldap_connect($MY_LDAP_SERVER);
Brad S. Jackson wrote:
It looks like the documentation is wrong. The C source code for the LDAP module
doesn't do anything special with zero arguments.
switch(ZEND_NUM_ARGS()) {
case 0:
host = NULL;
port = 0;
that would explain why
2 matches
Mail list logo