Php Push Key Value Into Array Definition Python