Пример #1
0
function updateAllTags($string)
{
    $updates = explode('/', $string);
    foreach ($updates as $update) {
        updateTag($update);
    }
}
Пример #2
0
function updateAllTags($string, $nberror)
{
    $updates = explode('/', $string);
    foreach ($updates as $update) {
        $nberror = updateTag($update, $nberror);
    }
    return $nberror;
}