Php Insert Into Array Python Initialize Empty