At the same time, I have to use Joomla at work and I sometimes catch myself with a partially-tied-off noose around my neck.
It really comes down to what framework you choose.
http://discuss.joelonsoftware.com/default.asp?joel.3.219431....
Unfortunately you have to get them from a FactoryFactory.
Against off-by-one errors, abstain from any from of loop.
For the real hard problems, like deciding whether your program has crashed or just takes a long time, give up.
That's why they had to name it Forth.
I never even think about high level stuff like "what language should I code in" anymore. It doesn't matter to the end user. CodeIgniter allows me to do anything I want, elegantly and with a small footprint.
It's a means to an end and eventually like you said, you stop caring about the "means". It's the "end" that matters - i.e. how well you execute. Using RoR (for example) as opposed to PHP has zero impact on that.
You might also argue that at scale PHP may eventually come back to bite you, but your not at scale at the moment and the majority of us should be thinking about the best way for us to deliver v1, not the best way for us to deal with 1 million users.
But I worked out how to adopt the new structured style to the limitations of the language, and learned a lot. Better languages make better tools, of course, but it's the hacker's attitude that really matters.
Then, something happened. Yes, the language matured, but I also started using application frameworks in PHP, which addressed many of the issues I had with PHP, and then I built an MVC framework from scratch, based on what I'd learned.
Now, I just don't care. I'm not going to defend PHP as a good language, not even it's creator will do that, but when people go on about how terrible PHP is, my first thought is "well, then use it more, and eventually you'll stop caring."
I stick with PHP, specifically for open source, because of it's install density, because it is extremely flexible, and because I know all it's weird quirks and inconsistencies so well that they no longer bother me. I wouldn't mind switching to a more structured and consistent language if it came up, but I don't see PHP as a limitation for anything I want to accomplish, and haven't for a very long time.
And anyways, terrible code is terrible code, and when I think about having to delve into projects that are spaghetti, or procedural, or have no separation of concerns, I don't blame the language for my frustration.