Donald Knuth once wrote that “premature optimization is the root of all evil”. I have to agree with him on that. One thing I’ve been dying to write about is the massive amount of crappy PHP optimization tips found on the net. Two examples of such is Reinhold Weber’s 40 Tips for optimizing your php code and chazzuka’s 63+ best practice to optimize PHP code performances. They do both have some good tips here and there, but in general this is just stupid tips, or more precise, premature optimization. There are reasons why such tips are bad. more…

Recent Comments