Typescript Insert Into Array First Php