Typescript Insert Into Array Php Format String