You are here: Re: modifying 'for... loop ' with php to leave out one number « PHP Programming Language « IT news, forums, messages
Re: modifying 'for... loop ' with php to leave out one number

Posted by Miguel Cruz on 10/06/38 11:54

"Ian Davies" <ian.dandav@virgin.net> wrote:
> I also realised this too and have decides afterall to go with the if
> statement by Miquel (THANKS MIQUEL) as there will be less lines of code. Do
> you know if there is a performance advantage over the switch method?

I expect the 'if' method would be faster as there's less parsing and
testing.

miguel
--
Photos from 40 countries on 5 continents: http://travel.u.nu
Latest photos: Malaysia; Thailand; Singapore; Spain; Morocco
Airports of the world: http://airport.u.nu

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация