each is deprecated in PHP7.2 and removed in PHP8.0 (#26317)

See https://www.php.net/manual/en/function.each.php
This commit is contained in:
MDW 2023-10-23 19:20:55 +02:00 committed by GitHub
parent ef1ccdf6b1
commit acea5c17dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1469,7 +1469,7 @@ class Ldap
);
$retval = "";
while (list($sat, $val) = each($stypes)) {
foreach ($stypes as $sat => $val) {
if ($samtype == $sat) {
$retval = $val;
break;