Fix array_pop() warning.