mirror of
https://github.com/php/php-src.git
synced 2025-08-17 22:48:57 +02:00

Another change as per accepted [namespaces in bundled extensions RFC](https://wiki.php.net/rfc/namespaces_in_bundled_extensions). Related: #6925, #5945, #6960
14 lines
293 B
PHP
14 lines
293 B
PHP
--TEST--
|
|
Attempt to instantiate an LDAP\Connection directly
|
|
--EXTENSIONS--
|
|
ldap
|
|
--FILE--
|
|
<?php
|
|
|
|
try {
|
|
new LDAP\Connection();
|
|
} catch (Error $ex) {
|
|
echo "Exception: ", $ex->getMessage(), "\n";
|
|
}
|
|
--EXPECT--
|
|
Exception: Cannot directly construct LDAP\Connection, use ldap_create() instead
|