In short java and php are conceptual close related, i always like to refer to PHP as javas ugly little brother.
rust and go both are languages that are designed for multi-core architectures and concurrency.
back to java.... the answer is clearly yes. I don't like java per se, but it's a solid OOP language.
PHP is a more difficult argument it has certain advantages because it's built in a stateless request-based approach. We can now argue about language design decisions, Type Coercion, JIT, GC and so on ....