|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
Patch 61718.diff for LDAP related Bug #61718Patch version 2012-04-13 13:46 UTC Return to Bug #61718 | Download this patchThis patch renders other patches obsolete Obsolete patches: Patch Revisions:Developer: ab@php.net
diff --git a/ext/ldap/tests/ldap_set_rebind_proc_error.phpt b/ext/ldap/tests/ldap_set_rebind_proc_error.phpt
index 3b4cd69..966612f 100644
--- a/ext/ldap/tests/ldap_set_rebind_proc_error.phpt
+++ b/ext/ldap/tests/ldap_set_rebind_proc_error.phpt
@@ -5,6 +5,16 @@ Patrick Allaert <patrickallaert@php.net>
# Belgian PHP Testfest 2009
--SKIPIF--
<?php require_once('skipif.inc'); ?>
+<?php
+ if (!function_exists("ldap_set_rebind_proc")) {
+ die("skip ldap_set_rebind_proc() does not exist");
+ }
+ require "connect.inc";
+ $link = fsockopen($host, $port);
+ if (!$link) {
+ die("skip no server listening");
+ }
+?>
--FILE--
<?php
require "connect.inc";
|
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Dec 12 12:00:01 2025 UTC |