$input = array ("a", "b", "c", "d", "e");$output = array_slice ($input, 2); $output = array_slice ($input, 2, -1);$output = array_slice ($input, -2, 1);$output = array_slice ($input, 0, 3); ?>