I see problems as challenges and opportunities. My experience had taught me when to take a short cut and when to revamp everything.
Solving The PHP Problem
"PHP solves problems. Oh, and you can program with it too!"
People come to PHP because they have some problem and they need to solve it. This is what PHP really shines at. You can simply take your static HTML website, add a simple in there, and … be done!
From there you start writing simple scripts, learn how to process forms, how to talk to the database, etc. After some time you start using object oriented programming and maybe make use of some framework.
That’s actually pretty much how I got into programming.
With most other languages it is the other way around. With them you first study computer science for five years and then you go out into the world to find some problem you can solve. "You could say that PHP is a programmer-producing language, whereas most other languages are programmer-consuming."
At this point you may ask: Well, once you learned programming, why not switch to another language? Simple: PHP has its quirks, but it is not that bad. Sure, people always try to tell you that, but it just isn’t true. Most of the things people criticize about PHP are really non-issues practically. Like the inconsistent needle/haystack order. That’s always at the top of things that are wrong with PHP. But in reality it really doesn’t matter. Sure, it would be nice if the order was consistent, but my IDE does a very good job at reminding me how to do it correctly.
PHP is a great language to start programming!
Once you started, PHP is also good for “real” programming (you know, object orientation and stuff).
PHP is not as bad as they say. There are issues, like with every language, but they rarely cause problems in practice.