php-src/ext/ldap/tests/ldap_unbind_basic.phpt
2009-07-03 09:21:31 +00:00

21 lines
429 B
PHP

--TEST--
ldap_unbind() - Basic ldap_unbind() operation
--CREDITS--
Patrick Allaert <patrickallaert@php.net>
# Belgian PHP Testfest 2009
--SKIPIF--
<?php require_once('skipif.inc'); ?>
<?php require_once('skipifbindfailure.inc'); ?>
--FILE--
<?php
require "connect.inc";
$link = ldap_connect_and_bind($host, $port, $user, $passwd, $protocol_version);
var_dump(ldap_unbind($link));
?>
===DONE===
--EXPECT--
bool(true)
===DONE===