Python Turn Array Into String Php