I changed it to use `is_int()` (push forthcoming).

The following...

```php
var_dump(array(1.234 => 'hi'));
```

... truncates the float for the array key, so we'll end up with an `int` anyway.