PHP Numbers (Int) Sanitization Function

function sanitize_int($int) {
    return filter_var($int, FILTER_SANITIZE_NUMBER_INT);
}

Leave a Comment

Your email address will not be published. Required fields are marked *