<?php $ids = array('1234', '5678'); foreach ($ids as &$id) { $id = (int)$id; } echo print_r($ids);
You have javascript disabled. You will not be able to edit any code.