PHP has a lot of issues in comparision to java and other languages.
JS has also missing features and semantic which got added through typescript.
I don't want to dismiss langauges because of this but saying 'every other language' is not true and not true in an objective sense either.