|
Posted by Steve on 01/08/08 14:04
"Betikci Boris" <pardust@gmail.com> wrote in message
news:c9a8b6bc-d794-412d-86bf-eaa8c3b93698@x69g2000hsx.googlegroups.com...
> On Jan 8, 3:27 am, adam.timberl...@gmail.com wrote:
>> I was reading this article
>> yesterday:http://www.talkphp.com/advanced-php-programming/1886-how-would-i-appl...
>>
>> 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.
>
> When word comes to user defined functions, bundled functions seems
> unnecessary ;) However default functions of PHP help to keep your code
> clean, optimized and readable, etc.
what?!!!???
[Back to original message]
|