Php Set Empty Array Typescript Vs Python