Well recently I found this interesting article about PHP benchmarks. It discusses some basic benchmarks for some PHP's special OO features such as magic methods, array access and iterators:
http://www.garfieldtech.com/blog/magic-benchmarks
Its a very helpful article, but still I have a few questions yet to be answered:
- That article was made in 2007, thats before PHP 5.3 was released. So is there any difference regarding the benchmarks in latest versions of PHP?
- How about the new features like namespace, traits and __callStatic()? How much more expensive to use them?
- The author keeps saying database and IO usually are bigger issues, then how much slower is it to use database/IO?
So anyone of you know the answers to some of the questions? Just curious.