Php Foreach Array Of Objects Example