[php-src] Issue #10112: Directly creating LDAP\Connection object refers to nonexistent ldap_create function

From: Date: Thu, 15 Dec 2022 23:54:19 +0000
Subject: [php-src] Issue #10112: Directly creating LDAP\Connection object refers to nonexistent ldap_create function
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-243155@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/10112 Author: zerocrates ### Description The following code: ```php <?php new LDAP\Connection; ``` Resulted in this output: ``` Error: Cannot directly construct LDAP\Connection, use ldap_create() instead ``` But I expected this output instead: ``` Error: Cannot directly construct LDAP\Connection, use ldap_connect() instead ``` ### PHP Version PHP 8.2.0 ### Operating System _No response_

« previous php.bugs (#243155) next »