Re: for/foreach speed
| From: | Richard Lynch | Date: | Mon, 27 Aug 2007 03:33:38 +0000 |
| Subject: | Re: for/foreach speed | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-261344@lists.php.net to get a copy of this message | ||
On Mon, August 20, 2007 11:50 am, Sascha Braun, CEO @ fit-o-matic wrote:
> could somebody please explain me, what loop construct is
> faster? The for, while or foreach.
If you are doing anything where the speed of for/while/foreach
matters, you shouldn't have done that in PHP in the first place, but
should have put it into a custom PHP extension. :-)
--
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?