Worst as in its core libraries naming conventions are inconsistent (to start with). Look it is a very biased feeling. Functionally PHP is great and does the job.
I just do not get these "high in demand" comments. Maybe it is but compared ton the likes of java and c# it is trailing. Maybe somebody can compare the salaries they offering?
I used to do a lot of python. It is a very easy and great language but with obvious faults. Using spaces as code blocks becomes a problem when people on the team start using tabs. They look the same but are different - merges can become a pain and code will stop compiling and you'll have to hunt for these th characters.
PHP is just web though whereas python (like c#, Java, Golmag and the like can be used for standalone programs and scripts).
I don't mind the web only factor as in this day and age, the web is a good place to be. Though how much of a jump is it to, say now C#? are the fundamentals the same or is it starting from scratch?
This is why it's in high demand: http://w3techs.com/technologies/overview/programming_language/all
Web devs aren't only employed to write new projects but also to maintain existing ones.
That is true and I guess with the growth of internet users in SA. Everyone is going to want a website that's more than just HTML
PHP is quite powerful, and so is Ruby. I develop in PHP, for various reasons - a large community being one of them.
It's been said many times that PHP isn't the greatest language. Sure, it isn't. But it is indeed evolving. Over time, it will become what people want it to be.
That said, PHP is a good start for beginners.![]()
Those are the magic words
