Php Loop Through Object Array In Python Syntax List