Typescript Last Element Of Array Php Documentation