File tree 3 files changed +5
-2
lines changed
3 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 2
2
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
3
3
?? ??? ????, PHP 8.2.2
4
4
5
+ - LDAP:
6
+ . Fixed bug GH-10112 (LDAP\Connection::__construct() refers to ldap_create()).
7
+ (cmb)
5
8
6
9
05 Jan 2023, PHP 8.2.1
7
10
Original file line number Diff line number Diff line change @@ -121,7 +121,7 @@ static zend_object *ldap_link_create_object(zend_class_entry *class_type) {
121
121
}
122
122
123
123
static zend_function * ldap_link_get_constructor (zend_object * object ) {
124
- zend_throw_error (NULL , "Cannot directly construct LDAP\\Connection, use ldap_create () instead" );
124
+ zend_throw_error (NULL , "Cannot directly construct LDAP\\Connection, use ldap_connect () instead" );
125
125
return NULL ;
126
126
}
127
127
Original file line number Diff line number Diff line change 11
11
echo "Exception: " , $ ex ->getMessage (), "\n" ;
12
12
}
13
13
--EXPECT --
14
- Exception: Cannot directly construct LDAP \Connection, use ldap_create () instead
14
+ Exception: Cannot directly construct LDAP \Connection, use ldap_connect () instead
You can’t perform that action at this time.
0 commit comments