I have a multi dimensional array
with 200 keys and each key has 3 to 5 arrays.
I want to know is there any way to see only a limited part ( i.e. upto 3 or 4 keys)
because if i use print_r($desiredArray);
then it took too much time to print that complete array and I want to see only initial 2 or 3 either first two and last two array keys
just like below
$desiredArray[0] $desiredArray[1] ... $desiredArray[199 ] $desiredArray[200]
..
if key are not in order then display like below
current($desiredArray), next($desiredArray)...end($desiredArray)