File tree 3 files changed +6
-2
lines changed
3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,10 @@ PHP NEWS
5
5
- Apache:
6
6
. Fixed bug GH-9949 (Partial content on incomplete POST request). (cmb)
7
7
8
+ - LDAP:
9
+ . Fixed bug GH-10112 (LDAP\Connection::__construct() refers to ldap_create()).
10
+ (cmb)
11
+
8
12
- TSRM:
9
13
. Fixed Windows shmget() wrt. IPC_PRIVATE. (Tyson Andre)
10
14
Original file line number Diff line number Diff line change @@ -119,7 +119,7 @@ static zend_object *ldap_link_create_object(zend_class_entry *class_type) {
119
119
}
120
120
121
121
static zend_function * ldap_link_get_constructor (zend_object * object ) {
122
- zend_throw_error (NULL , "Cannot directly construct LDAP\\Connection, use ldap_create () instead" );
122
+ zend_throw_error (NULL , "Cannot directly construct LDAP\\Connection, use ldap_connect () instead" );
123
123
return NULL ;
124
124
}
125
125
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