Php Last Array Element Delete Function
What is array_pop Function?
The "array_pop" function is used to delete the last element of an array.
In the above syntax "array" specifies the array from which the last element is to be deleted.
$pop = array_pop($b);
Array ( [c] => Cherry [b] => Strawberry )
In the above example the last element of the array "Berry" is deleted.