Traverse a range in PHP

    Traverse a range in PHP

    Hi,
    say, I declared a range by

    $range = activesheet()->range("D8:Z8");

    how can I traverse it? I'd like to do sth like

    foreach ($range as $r)
    {
    if ($r->value > 0.5)
    ....
    }

    On similar lines, is it possible to traverse the cells in a row of a worksheet?

    Cheers Tuomo