Typescript String Not In Array In Php