in reply to Exists and arrays

exists is useless on arrays. Please use defined or check the index against the length of the array.