function updateAllTags($string) { $updates = explode('/', $string); foreach ($updates as $update) { updateTag($update); } }
function updateAllTags($string, $nberror) { $updates = explode('/', $string); foreach ($updates as $update) { $nberror = updateTag($update, $nberror); } return $nberror; }