1--TEST--
2ldap_start_tls() - Basic ldap_start_tls test
3--CREDITS--
4Patrick Allaert <patrickallaert@php.net>
5# Belgian PHP Testfest 2009
6--EXTENSIONS--
7ldap
8--SKIPIF--
9<?php require_once __DIR__ .'/skipifbindfailure.inc'; ?>
10--FILE--
11<?php
12require "connect.inc";
13
14$link = ldap_connect($uri);
15ldap_set_option($link, LDAP_OPT_PROTOCOL_VERSION, $protocol_version);
16var_dump(ldap_start_tls($link));
17?>
18--EXPECT--
19bool(true)
20