Python Create Empty Array Of Objects Php