Php Turn String Into Array Python Vs List