Gavroch

0

votes
0

answer
12

views

Splitting an array and doing tests

I have a little problem, so I receive number's and I store them in an array to do some tests. I test firstly their succession with this method $range = range($last_index, max($this->tab)); $missing_numbers = array_diff($range, $this->tab); and secondly I test the redundancy of those number's like t...
Gavroch