1
0
mirror of https://github.com/php/php-src.git synced 2026-04-22 23:48:14 +02:00
Files
archived-php-src/ext/ldap/tests/ldap_set_option_reqcert_error.phpt
T
2021-06-14 10:41:33 +02:00

16 lines
343 B
PHP

--TEST--
ldap_option_reqcert_basic() - Error test for TLS require cert ldap option
--CREDITS--
Edwin Hoksberg <edwin@edwinhoksberg.nl>
--EXTENSIONS--
ldap
--FILE--
<?php
require "connect.inc";
$link = ldap_connect($host, $port);
$result = ldap_set_option($link, LDAP_OPT_X_TLS_REQUIRE_CERT, 9001);
var_dump($result);
?>
--EXPECT--
bool(false)