Skip to content

Commit 6b754d9

Browse files
committed
Merge branch 'PHP-8.3' into PHP-8.4
* PHP-8.3: Skip tests if ldap_set_rebind_proc() is not available
2 parents a0c7550 + fb6d500 commit 6b754d9

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 <patrickallaert@php.net>
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 <patrickallaert@php.net>
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)