Php Loop Through Object Array In Python W3schools