"string", "registrantID" => "numeric", "techID" => "numeric", "billingID" => "numeric", "adminID" => "numeric", "ns" => "array"); foreach($required as $expect=>$type) { if(!is_$type($$expect)) } ?>