I have this
array
(
[0] => 1976,
[1] => 1977,
[2] => 1978,
[3] => 1979,
[4] => 1980,
[5] => 1981,
[6] => 1982,
[7] => 1983,
[8] => 1990,
[9] => 1991,
[10] => 1993,
[11] => 1994,
[12] => 1995
)
And i want to find the interval between gaps so it looks like this:
$tmp[1]= [[0] => 1976, [1] => 1983]
$tmp[1]= [[0] => 1990, [1] => 1991]
$tmp[1]= [[0] => 1993, [1] => 1995]
Eventually I'll be using the same method with largest list of number andy idea ?