Find Index Of Element In Object Array Php Use For Loop