This commit is contained in:
paoloar77
2024-05-19 16:27:15 +02:00
parent b95667d8b0
commit 3fe5064991
2 changed files with 6 additions and 2 deletions

View File

@@ -33,6 +33,8 @@ function updateValueByKey(&$array, $key, $newValue) {
break; // Se trova il key, termina il loop
}
}
$array[$key] = $newValue;
}
function updateValueByKeyArr(&$array, $key, $newValue) {
@@ -42,4 +44,6 @@ function updateValueByKeyArr(&$array, $key, $newValue) {
break; // Se trova il key, termina il loop
}
}
$array[$key] = $newValue;
}