PHP meledak dan typecast

$integerIDs = array_map('intval', explode(',', $string));
Panicky Panther