Skip to content

Update ldap_connect usage to avoid deprecated syntax #4274

@ssddanbrown

Description

@ssddanbrown

Usage of ldap_connect with two params is considered deprecated.
Will likely be official deprecated in code from PHP 8.3.

We use this deprecated syntax by default:

return ldap_connect($hostName, $port);

Note: I think we do essentially use this in the single-param format in many cases, but we always pass a second param to align usage (Which I believe essentially gets ignored).

Assigning to next feature release but we got a fair amount of time before PHP 8.3 so could be moved if needed.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions