Php Pretty Print Array To String Join Typescript Vs Python