Php Push Key Value To Array Python Memory