Php Array Slice Remove Last Element From The List