The following page of tests is an interesting examination of script execution times of various PHP functions and code constructs. Some of the findings may surprise you, and even make you think twice about how exactly you code your next script. Programming elegantly is definitely not the same as programming for performance, as many of the following examples will show.
Elliott Brueggeman is a Seattle based Software Developer with interests in PHP, MYSQL, and the development of high traffic web sites.
Follow me on Twitter at http://twitter.com/ebrueg.