Php Insert Into Array Python Initialize Set