Archive - Mar 26, 2007

Date

BREAK the FOR VS WHILE loop war

PHP Benchmark - For vs While from John's PHP Digest starts the FOR VS WHILE argument again.
For VS While was already a topic in the old days:
Bruesoft's real time benchmark on loops changes result each request. Cosmin Budinschi's test show WHILE is faster than FOR.

I believe this is an endless fight, but I'm in the WHILE's side.

WHILE is FASTER! and USE LESS MEMORY

I have to support it with one of the best method ever(found out 3 days ago)
Screencast!

BTW if you can't see it, check out the revver page where my screencast is shown.

In this screencast, you will see that WHILE is slightly faster and it uses less memory!

Honey Pot that kill bots