Starting to dislike PHP

Having used PHP for many years, I have come to dislike it more and more. It segfaults instead of giving meaningful error messages, it has too many functions that accomplish nearly the same thing, $$var..

I never used PHP objects much because in PHP4 they weren't very useful. Last week I was working on a project where I really wanted to use OO programming just to keep the code clean and and easier to maintain.

And people said OO got so much better in PHP5, so I figured this would be pretty easy. Having a decent knowledge of Java, I thought PHP5 would be similar. But after reading up on PHPs OO concepts and finishing the project, I must say that PHP5s OO is still horrible. It still doesn't even support the most basic OO concepts.

Argh! Unfortunately I don't have much choice, I'm stuck with PHP. Of course it's not all bad, but it can be so frustrating sometimes ;)

filed under

Post new comment

  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li>
  • Lines and paragraphs break automatically.
  • Web page addresses and e-mail addresses turn into links automatically.