(int) is for casting to an int. is_int() is for type checking.

$foo = (int) 'bar'; // 0
$foo = (int) 8.2; // 8
$foo = (int) '8'; // 8

is_int(8); // true
is_int('foobar'); // false

Completely different.