codeguy/php-the-right-way — pull request #85 by 610 (2012-07-11 21:26:07+00:00)
Title: Double filtering

Double filtering is super secure, but one is enough and lighter :)

$stmt->bindParam(':id', filter_input(INPUT_GET, 'id', FILTER_SANITIZE_NUMBER_INT), PDO::PARAM_INT);

PDO::PARAM_INT - already sanitizes value.