Skip to content

ldap: Document removal of ber_identifier param#2086

Merged
cmb69 merged 1 commit intophp:masterfrom
zerocrates:ldap-remove-ber-identifier
Dec 17, 2022
Merged

ldap: Document removal of ber_identifier param#2086
cmb69 merged 1 commit intophp:masterfrom
zerocrates:ldap-remove-ber-identifier

Conversation

@zerocrates
Copy link
Copy Markdown
Contributor

The docs for ldap_first_attribute and ldap_next_attribute note that PHP accepts a third, deprecated argument, $ber_identifier without raising an error.

In fact, passing 3 parameters to these functions has been an ArgumentCountError since PHP 8.0.0 (see php/php-src@eeec37d).

For both functions, this change removes the argument from the list, removes the note indicating that a third argument can be passed, and adds the change at version 8.0.0 to the changelog.

Copy link
Copy Markdown
Member

@cmb69 cmb69 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@zerocrates zerocrates force-pushed the ldap-remove-ber-identifier branch from 43d916d to e2bcd78 Compare December 17, 2022 00:40
@zerocrates
Copy link
Copy Markdown
Contributor Author

Okay, that's done.

@cmb69 cmb69 merged commit 303580c into php:master Dec 17, 2022
@cmb69
Copy link
Copy Markdown
Member

cmb69 commented Dec 17, 2022

Thank you!

@zerocrates zerocrates deleted the ldap-remove-ber-identifier branch December 17, 2022 21:44
claudepache pushed a commit to claudepache/php-doc-en that referenced this pull request Jun 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants