Reply to Re: For gurus: bug in php? Recursive foreach dont work properly.

Your name:

Reply:


Posted by Jerry Stuckle on 04/12/07 22:03

Rami Elomaa wrote:
> Jerry Stuckle kirjoitti:
>
>> And no, it's not like an iterator - there are no methods you can use
>> on the internal pointer - only the array itself.
>
> Sigh... In the previous post Toby listed all the methods that can be
> used on the internal pointer... So there are indeed methods for
> manipulating the internal pointer, but the internal pointer is not like
> an iterator in C++. :)
>

No, the methods are operating on the array, not the internal pointer.
You have no direct access to the internal pointer.

For instance, you use next(array), not pointer.next() as you would with
a C++ iterator.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

[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

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