Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ldap_control_paged_result is deprecated in php 7.4 #35

Open
xyphoid opened this issue Dec 11, 2020 · 0 comments
Open

ldap_control_paged_result is deprecated in php 7.4 #35

xyphoid opened this issue Dec 11, 2020 · 0 comments

Comments

@xyphoid
Copy link

xyphoid commented Dec 11, 2020

Happened to discover this when loading the /LDAPDebug page on a test site on php 7.4. This is used in LDAPIterator

https://www.php.net/manual/en/migration74.deprecated.php#migration74.deprecated.ldap

This looks annoying to handle because the replacement for this is new behaviour on ldap_search which was added in 7.3. This means that to have code that works on both 7.2 and 7.4 will involve conditional version checking and having both versions - for example see https://tracker.moodle.org/browse/MDL-67118 for the same issue in Moodle.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants