Web Technology II20795 marksArray slicing with array_slice function
Write a PHP program to extract subset of a string array using array_slice() function.
Write a PHP program to extract subset of a string array using array_slice() function. [5]
arrayslice() is a built-in PHP function that extracts a portion (subset) of an array and returns it as a new array. Syntax: Parameter Description ------ array The input array start Starting index (0-based) length Number of elements to extract (optional) preservekeys Whether to preserve original k...