Can't believe the amount of PHP supporters here, and JS haters.
You an either love or hate JavaScript but it is the main coding language on the internet. Even using PHP you'll end needing JS at some point for some trivial UI tasks (or not that trivial). IMHO, many of the complains about JS are coming from people who doesn't really know JS.
Also as someone said earlier before, there are better alternatives than PHP such as Python with Django with the fact that Python can be used almost for anything out of web development (which makes it a really valuable skill to learn even if you don't use it as your "main" language). You could also use Ruby on Rails which makes development VERY fast.
The only advantage I can find by using PHP is that you can be valuable for Wordpress development (which is a huge market).
That's my two cents
You an either love or hate JavaScript but it is the main coding language on the internet. Even using PHP you'll end needing JS at some point for some trivial UI tasks (or not that trivial). IMHO, many of the complains about JS are coming from people who doesn't really know JS.
Also as someone said earlier before, there are better alternatives than PHP such as Python with Django with the fact that Python can be used almost for anything out of web development (which makes it a really valuable skill to learn even if you don't use it as your "main" language). You could also use Ruby on Rails which makes development VERY fast.
The only advantage I can find by using PHP is that you can be valuable for Wordpress development (which is a huge market).
That's my two cents