mirror of
https://github.com/php/php-src.git
synced 2025-08-17 14:38:49 +02:00
17 lines
286 B
PHP
17 lines
286 B
PHP
--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($host, $port);
|
|
var_dump($link);
|
|
?>
|
|
--EXPECTF--
|
|
object(LDAP\Connection)#%d (0) {
|
|
}
|