Php Insert Into Array Python Question