File tree 2 files changed +9
-2
lines changed
2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -155,6 +155,10 @@ PHP 8.4 UPGRADE NOTES
155
155
deprecated. Use either IntlGregorianCalendar::createFromDate() or
156
156
IntlGregorianCalendar::createFromDateTime() instead.
157
157
158
+ - LDAP:
159
+ . Calling ldap_connect() with more than 2 arguments is deprecated. Use
160
+ ldap_connect_wallet() instead.
161
+
158
162
========================================
159
163
5. Changed Functions
160
164
========================================
Original file line number Diff line number Diff line change @@ -926,8 +926,11 @@ PHP_FUNCTION(ldap_connect)
926
926
ldap_linkdata * ld ;
927
927
LDAP * ldap = NULL ;
928
928
929
- if (ZEND_NUM_ARGS () == 2 ) {
930
- zend_error (E_DEPRECATED , "Usage of ldap_connect with two arguments is deprecated" );
929
+ if (ZEND_NUM_ARGS () > 2 ) {
930
+ zend_error (E_DEPRECATED , "Calling ldap_connect() with Oracle-specific arguments is deprecated, "
931
+ "use ldap_connect_wallet() instead" );
932
+ } else if (ZEND_NUM_ARGS () == 2 ) {
933
+ zend_error (E_DEPRECATED , "Usage of ldap_connect with two arguments is deprecated" );
931
934
}
932
935
933
936
#ifdef HAVE_ORALDAP
You can’t perform that action at this time.
0 commit comments