You are here: Re: Equivalent of upvar « PHP Programming Language « IT news, forums, messages
Re: Equivalent of upvar

Posted by Volker Hetzer on 09/15/05 19:57

am_ggh@hotmail.com wrote:
> Erwin
>
> Thanks for replying. I appreciate your input.
>
> Yes you are right, I have the need to set a value to the variable in
> the calling environment (my case happens to be a function within a
> function), In fact I need to possibly initialize variables (since they
> might not even exist) in the calling function. $GLOBALS etc. lead to
> unwanted side effects because of the nature of the task at hand*.
>
> :(
>
> Andy
>
> P.S. *I realize this goes against the lean clean design theme, but the
> task is one of conversion from one language to another :(
Well, maybe then you sould read a book about compiler construction?
As far as I learned, there's no requirement for reaching into the callers
frame. But I do admit, a certain swiss guys books make heavy use of that...

Lots of Greetings!
Volker

 

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

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