dis-bench / src /php /php-src /ext /ldap /tests /ldap_connect_basic.phpt
meddyrat's picture
Replace repository contents with the original corrected artifact
1e94262
Raw History Blame Contribute Delete
278 Bytes
--TEST--
ldap_connect() - Basic connection
--CREDITS--
Patrick Allaert <patrickallaert@php.net>
# Belgian PHP Testfest 2009
--EXTENSIONS--
ldap
--FILE--
<?php
require "connect.inc";
$link = ldap_connect($uri);
var_dump($link);
?>
--EXPECTF--
object(LDAP\Connection)#%d (0) {
}