How to validate `id` in php? I usually user `intval($_GET['id'])` however now I am dealing with large number and `intval` is returning them as `0`.

```
$id = intval($_GET['id']);

```

this is one of my numbers `95315898521642`

**Note: I want to check is a number is > 0**