Php Turn Array Into String Python Functions W3schools