PHP: Not as easy as you thought

Just like there are good reasons for running and maintaining old software written in COBOL, there are many good reasons to use and develop software written in PHP. However, being "an easy language to learn" is not one of them. PHP gives the impression of being an easy language, while hiding unexpected behaviour that can impair the correct functioning of your software. It takes a great deal more knowledge and meticulousness to write good PHP code than it takes to write good code in other languages.

I have done a lot of software development using PHP, and I'll probably do a lot more. This page lists things I don't like about PHP, and also some scripts I use to maintain my sanity while writing PHP code.


[Remains of a strip mall fire]


PHP 5 was first released on July 13, 2004, and it's better than PHP 4. Better doesn't mean good.