JAVA vs PHP which the better for Web Development

Java vs Php is best to use for Web development.

PHP is best for web development.

Are you Php Developer

It is based on your requirement what kind of web Application you want to develop. Yes Php has an edge because it easy to learn and around more than 50% of the web application is running on php.