Php Flatten Array Of Objects Definition In C