In WEB devp. PHP vs Java Which is Good?

In WEB devp. PHP vs Java Which is Good ?