Skip to content

Conversation

devnexen
Copy link
Member

No description provided.

@devnexen devnexen marked this pull request as ready for review September 12, 2025 11:41
@devnexen devnexen requested a review from Girgias September 12, 2025 11:42
@devnexen
Copy link
Member Author

Do not know if I need any more warning in other places. There does not seem any CI for using Oracle Instant Client.

ext/ldap/ldap.c Outdated
@@ -1102,6 +1101,8 @@ PHP_FUNCTION(ldap_connect_wallet) {
RETURN_THROWS();
}

zend_error(E_DEPRECATED, "Calling ldap_connect_wallet is deprecated");
Copy link
Member

Choose a reason for hiding this comment

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

I guess you should consistently use () when referring to a function name. You did so on line 976 but not here.

Copy link
Member

Choose a reason for hiding this comment

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

Also this should use the #[\Deprecated] attribute in the stub instead of triggering this in C.

@devnexen devnexen force-pushed the deprecate_oracle_ldap branch from 4975330 to 5132197 Compare September 12, 2025 15:39
@devnexen devnexen requested a review from a team September 12, 2025 18:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The ldap extension cannot be built on Solaris with Oracle Instant Client
2 participants