[minor] fix strict warning : Only variables should be passed by reference - array_pop()