SigmarStern
Fascinating. It has been a running joke in my bubble that no one ever picks up PHP voluntarily. It’s just everywhere.
I wouldn’t overthink it. Learn the languages you like. Learning an OOP language in depth is a good idea, but it doesn’t have to be Java. C# or even modern PHP also work fine.
In my experience, you learn a language and then you apply for a job that requires that language. So, if you don’t learn Java, you won’t apply for a Java developer position. You can go a whole career without touching Java.
Unlike PHP, which has the tendency to sneak up on you (never met a PHP programmer who chose to become one) Java will most likely not just come up if you don’t go looking for it.
If you go down the Java route you will probably end up working with enterprise/legacy software. If you are fine with that, do it. But what’s wrong with focussing on JavaScript as your main language?
The YouTube algorithm is sometimes surprisingly good. Like “Listen to this band with 47 plays!” and then it’s a banger.