<?php $input = array(1, 2, 3, 4, 5, 6 , 7, 8, 9, 10); $result = array_slice($input, 0, 6); echo $result[5];
You have javascript disabled. You will not be able to edit any code.