Skip to content

Commit 59fe79f

Browse files
committed
Merge branch 'PHP-8.4'
* PHP-8.4: Skip tests if ldap_set_rebind_proc() is not available
2 parents 96d1cd0 + 6b754d9 commit 59fe79f

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

ext/ldap/tests/ldap_set_rebind_proc_basic.phpt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,10 @@ Patrick Allaert <[email protected]>
66
--EXTENSIONS--
77
ldap
88
--SKIPIF--
9-
<?php require_once('skipifbindfailure.inc'); ?>
9+
<?php
10+
if (!function_exists('ldap_set_rebind_proc')) die("skip ldap_set_rebind_proc() not available");
11+
require_once('skipifbindfailure.inc');
12+
?>
1013
--FILE--
1114
<?php
1215
require "connect.inc";

ext/ldap/tests/ldap_unbind_variation.phpt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,10 @@ Patrick Allaert <[email protected]>
66
--EXTENSIONS--
77
ldap
88
--SKIPIF--
9-
<?php require_once('skipifbindfailure.inc'); ?>
9+
<?php
10+
if (!function_exists('ldap_set_rebind_proc')) die("skip ldap_set_rebind_proc() not available");
11+
require_once('skipifbindfailure.inc');
12+
?>
1013
--FILE--
1114
<?php
1215
require "connect.inc";

0 commit comments

Comments
 (0)