Braindead PHP benchmark

April 5, 2004

I just did a quick search for “switch vs if else” benchmarks in php and found this switch-vs-if benchmark at the top of the Google’s hitlist. I really hope nobody makes any decisions (other than to not hire the creator) based on that benchmark. (If you’ve been programming for a while and can’t figure out why this benchmark is worthless: consider a change of career.)

Leave a Reply