MastodonHelp/web/lib/ckkeys.php
2023-12-26 11:16:24 +01:00

12 行
173 B
PHP

<?php
function ckkeys($keysarr,$arr) {
$missing=array();
foreach ($keysarr as $key) {
if (!array_key_exists($key,$arr))
$missing[]=$key;
}
return($missing);
}
?>