Program to delete an element from array using unset() function in PHP
Given an array of elements, we have to delete an element from the array by using the unset() function.
Input : $arr = array(1, 2, 6, 7, 8, 9);
unset($arr[3]);
Output : Array
(
[0] => 1
[1] => 2
[2] => 6
[4] => 8
[5] => 9
)



