<?php $input_array = array('a' => 'a', 'b' => 'b', 'c' => 'c', 'd' => 'd', 'e' => 'e'); print_r(array_slice($input_array, 0, 2, true)); print_r(array_slice($input_array, 0, 2));
You have javascript disabled. You will not be able to edit any code.