PHP VS JAVA: What to choose for career?

PHP:
PHP is a hypertext preprocessor, server side scripting language developed in the midst of 1994 to 1997 to create dynamic web pages. PHP was developed as a solution to reduce heavy coding used to output html. Since, PHP is embedded within HTML with special PHP tags the programmer can easily convert from HTML to PHP and vice versa. PHP processor module is present within a web server that interprets the PHP code embedded within the html source document and generates web pages. Nowadays, PHP is being considered as a powerful tool for creating interactive web pages which is fast growing.
Green Side of PHP:
PHP has started supporting object oriented programming from PHP4 and now there is a marvelous improvement in procedural programming and OOPS concept at PHP5.3 which made IDE to support PHP development.
Red Side of PHP:
As per the Java developers, PHP is an unstructured and disorganized programming language that doesn’t support a good IDE.

JAVA:
Java is a high level object oriented programming language designed to simplify and eliminate the features that cause programming errors. Java is used in a web page for building small application module that may help the user interact with the page.
Java is used as a web programming language in many corporate companies because their integrated development environment was built up by number of Java developers and fundamentally lock themselves into Java platform.
Green Side of JAVA:
To create a standardized architecture and a complex system Java is said to be the right option. In addition to that Java developers are highly trained experts in OOPS concept and also we do have a pleasant new entry to an open source web world with the open sourcing of Java program.
Red Side of JAVA:
As per the PHP programmer’s vision, Java is a highly complex and difficult to use language which requires lot of development time and loading time for a website.

Conclusion:
PHP is advanced in scalability and PHP software development speed since there is no pre compilation required while the Java stands high for the variable tool strength and maintainability since past. Hence both are equals but, the corporate will adopt PHP to build their IDE when there is an increase in large number of PHP Programmers as like Java programmers.