<?php $input = array("red", "green", "blue", "yellow"); array_splice($input, 1, -1); print_r($input);
You have javascript disabled. You will not be able to edit any code.