Php Add Items To Array Python