in reply to Re^2: Array slice vs foreach and push
in thread Array slice vs foreach and push

if that case, perhaps you should be thinking about using some aspect of ...
 if (defined)