Typescript Get Value From Array In Php