Re: [PHP-DEV] Deprecate ldap_connect with host and port as separate arguments

2023-02-07 Thread G. P. B.
On Tue, 7 Feb 2023 at 12:56, Côme Chilliet wrote: > Le vendredi 27 janvier 2023, 10:00:35 CET Andreas Heigl a écrit : > > Hey Folks. > > > > I think it would be a good idea to deprecate calling ldap_connect with 2 > > parameters host and port. > > Hello, > > My long term plan was to replace it

Re: [PHP-DEV] Deprecate ldap_connect with host and port as separate arguments

2023-02-07 Thread Côme Chilliet
Le vendredi 27 janvier 2023, 10:00:35 CET Andreas Heigl a écrit : > Hey Folks. > > I think it would be a good idea to deprecate calling ldap_connect with 2 > parameters host and port. Hello, My long term plan was to replace it by a constructor for the new \LDAP\Connection class that only

Re: [PHP-DEV] Deprecate ldap_connect with host and port as separate arguments

2023-01-27 Thread Andreas Heigl
On 27.01.23 17:28, Christoph M. Becker wrote: On 27.01.2023 at 17:06, Levi Morrison via internals wrote: On Fri, Jan 27, 2023 at 8:54 AM Larry Garfield wrote: On Fri, Jan 27, 2023, at 3:00 AM, Andreas Heigl wrote: I think it would be a good idea to deprecate calling ldap_connect with 2

Re: [PHP-DEV] Deprecate ldap_connect with host and port as separate arguments

2023-01-27 Thread Larry Garfield
On Fri, Jan 27, 2023, at 10:28 AM, Christoph M. Becker wrote: > On 27.01.2023 at 17:06, Levi Morrison via internals wrote: > >> On Fri, Jan 27, 2023 at 8:54 AM Larry Garfield >> wrote: >>> >>> On Fri, Jan 27, 2023, at 3:00 AM, Andreas Heigl wrote: >>> I think it would be a good idea to

Re: [PHP-DEV] Deprecate ldap_connect with host and port as separate arguments

2023-01-27 Thread Christoph M. Becker
On 27.01.2023 at 17:06, Levi Morrison via internals wrote: > On Fri, Jan 27, 2023 at 8:54 AM Larry Garfield wrote: >> >> On Fri, Jan 27, 2023, at 3:00 AM, Andreas Heigl wrote: >> >>> I think it would be a good idea to deprecate calling ldap_connect with 2 >>> parameters host and port. >> >> This

Re: [PHP-DEV] Deprecate ldap_connect with host and port as separate arguments

2023-01-27 Thread Levi Morrison via internals
On Fri, Jan 27, 2023 at 8:54 AM Larry Garfield wrote: > > On Fri, Jan 27, 2023, at 3:00 AM, Andreas Heigl wrote: > > Hey Folks. > > > > I think it would be a good idea to deprecate calling ldap_connect with 2 > > parameters host and port. > > > > Wait: What? > > > > Currently there are three ways

Re: [PHP-DEV] Deprecate ldap_connect with host and port as separate arguments

2023-01-27 Thread Larry Garfield
On Fri, Jan 27, 2023, at 3:00 AM, Andreas Heigl wrote: > Hey Folks. > > I think it would be a good idea to deprecate calling ldap_connect with 2 > parameters host and port. > > Wait: What? > > Currently there are three ways one can call ldap_connect. > > 1. With a string $ldap_uri > 2. With a

[PHP-DEV] Deprecate ldap_connect with host and port as separate arguments

2023-01-27 Thread Andreas Heigl
Hey Folks. I think it would be a good idea to deprecate calling ldap_connect with 2 parameters host and port. Wait: What? Currently there are three ways one can call ldap_connect. 1. With a string $ldap_uri 2. With a string $host and an int $port, 3. With even more parameters for those that