You are here: Re: PHP5, foreach and memory corruption « PHP Language « IT news, forums, messages
Re: PHP5, foreach and memory corruption

Posted by Stefan Rybacki on 08/22/05 03:03

Anze wrote:
>>Another thing: is there a nicer way to traverse an array without copying
>>the values? All of the foreach(), current(), next() and similar do that -
>>but I want to traverse an array just by referencing the values.
>
>
> Of course, I'm looking for solution that would work in PHP4 too - in PHP5
> you can use foreach with '&' before $value.
>

And you can't use & in PHP4?

Stefan

> Regards,
>
> Anze

 

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

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