You are here: Re: Why not use a foreach loop instead of having a function called array_walk? « PHP Language « IT news, forums, messages
Re: Why not use a foreach loop instead of having a function called array_walk?

Posted by Peter Pei on 01/08/08 01:50

The point is to have the same code for whatever processing you want, you
just provide different handlers. Unfortunately in PHP, you cannot really
pass a function but its name.

 

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

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