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