var rez=[]
for(var key in obj)if(obj[key].indexOf(7)==-1)rez.push(key);
getopts
#!/usr/bin/env bash
RULES=default.txt
TOGGLEME=false
while getopts "r:f" arg; do
case $arg in
r) RULES=$OPTARG ;;
f) TOGGLEME=true ;;
*);;
esac
done
echo $RULES
find
для взаимодействия с файлами. $notFound = array();
foreach ($new_data as $k => $v)
{
if (isset($data[$k])) $data[$k] = $v;
else $notFound[$k] = $v;
}