I'm not sure I would describe either PHP or Java as for "hard core" programmers.
As far as I am concerned PHP is used by self-taught teenagers in the early 00's, while Java is as you mention popular in "enterprise".
"Enterprise" you should probably be aware is generally not considered to be praise.