Re: Fixing ldap_connect documentation

From: Date: Thu, 05 Nov 2015 03:20:37 +0000
Subject: Re: Fixing ldap_connect documentation
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-89072@lists.php.net to get a copy of this message
Le mercredi 4 novembre 2015, 21:10:09 Bishop Bettini a écrit : > > - Second parameter is not used if the first one is an LDAP scheme, so > > calling ldap_connect('ldap://localhost', 456) will use default port 389. > > > > I'd prefer this raise a notice, like "Second argument ignored when using > URI syntax. Port will default to 389. Did you mean 'ldap://localhost:456' > instead?" Good idea, this will avoid confusion. I will add this. MCMic

« previous php.internals (#89072) next »