1--TEST--
2ldap_option_reqcert_basic() - Error test for TLS require cert ldap option
3--CREDITS--
4Edwin Hoksberg <edwin@edwinhoksberg.nl>
5--SKIPIF--
6<?php require_once dirname(__FILE__) .'/skipif.inc'; ?>
7--FILE--
8<?php
9require "connect.inc";
10$link = ldap_connect($host, $port);
11$result = ldap_set_option($link, LDAP_OPT_X_TLS_REQUIRE_CERT, 9001);
12var_dump($result);
13?>
14===DONE===
15--EXPECT--
16bool(false)
17===DONE===
18