Reply to Re: Why not use a foreach loop instead of having a function called array_walk?

Your name:

Reply:


Posted by Steve on 01/08/08 03:36

"Jerry Stuckle" <jstucklex@attglobal.net> wrote in message
news:dJKdnVPbW53kQh_anZ2dnUVZ_jmdnZ2d@comcast.com...
> adam.timberlake@gmail.com wrote:
>> I was reading this article yesterday:
>> http://www.talkphp.com/advanced-php-programming/1886-how-would-i-apply-htmlentities-every-array-item.html
>>
>> I am wondering.. okay.. we can use array_walk but doesn't that just
>> loop through the items anyway ?? So why not just use the foreach loop
>> instead... is it a shorthand trick or is there any deeper reasoning
>> behind it... Thats my question!
>>
>> I do have another question and that is if it is a shorthand version,
>> having a foreach loop isn't much more in terms of the letters you type
>> and so why have the PHP developers put it in there ??
>>
>> It's puzzling me. Thank you in advance.
>>
>
> Please cross-post. Don't multipost. It wastes everyone's time.

just ignore the post, jerry. you like wasting everyone's time with other
things. hint: the pot and the kettle are both black.

[Back to original 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

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