Which of the two methods is in which case better and safer?
1.
function escape($inputtype){ return filter_input(INPUT_POST, $input