If you’re already familiar with Java, I don’t see why you should learn or utilize PHP. There’s nothing PHP can’t accomplish that Java can’t. True, PHP is a much more permissive language in general, and some jobs can be completed faster and with less code. PHP has significantly less built-in abstraction than Java.