I've been in the industry for 30 years (12 as a Consultant) and have been developing Web pages in Java/JSP, ASP, and PHP.
My favorite, PHP hands down. Powerful and maintainable.
Just by the nature the organization of JAVA, it forces you to be organized. If you take that mentality when coding in PHP, you'll write structured and highly maintainable code. The choise is up to you.
That is, if you're a talented enough of a programmer to recognize that you have that choice.