Php Loop Through Object Array Declaration