The array_pop() function is used to remove the last element of an array. For an empty array, the function returns NULL