12 行
173 B
PHP
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);
|
|
}
|
|
|
|
?>
|