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

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to